0_0_35599455_4410.cpp: In function 'int main()': 0_0_35599455_4410.cpp:10:17: error: redeclaration of 'int i' int a=0,e=0,i=0,o=0,u=0; ^ 0_0_35599455_4410.cpp:8:10: note: 'int i' previously declared here for(int i=0;i<n;i++){ ^