0_0_21816459_10411.cpp: In function 'int main()': 0_0_21816459_10411.cpp:27:19: error: 'ai' was not declared in this scope for(int i=0;i<b;ai++) ^