0_0_17554595_1431.cpp: In function 'int main()': 0_0_17554595_1431.cpp:6:1: error: expected ';' before 'while' while(scanf("%if",&r)!=EOF) ^ 0_0_17554595_1431.cpp:8:1: error: 'else' without a previous 'if' else ^