0_0_15724719_16354.c: In function 'main': 0_0_15724719_16354.c:37:29: error: expected ')' before 'and' while((scanf("%d", &n)) and n!=0){ ^