0_0_23498241_11238.cpp: In function 'int main()': 0_0_23498241_11238.cpp:8:9: error: expected ';' before 'for' for(int i=0;i<=a;i++) ^ 0_0_23498241_11238.cpp:8:21: error: 'i' was not declared in this scope for(int i=0;i<=a;i++) ^