0_0_20486713_330.cpp:17:1: error: expected unqualified-id before 'for'
for(int k=0;k<step&&sum[k]!=0;k++)cout << sum << endl<<endl;
^
0_0_20486713_330.cpp:17:13: error: 'k' does not name a type
for(int k=0;k<step&&sum[k]!=0;k++)cout << sum << endl<<endl;
^
0_0_20486713_330.cpp:17:31: error: 'k' does not name a type
for(int k=0;k<step&&sum[k]!=0;k++)cout << sum << endl<<endl;
^
0_0_20486713_330.cpp:20:1: error: expected declaration before '}' token
}
^
|