0_0_16322784_25620.cpp: In function 'int main()': 0_0_16322784_25620.cpp:17:23: error: 'toatal2' was not declared in this scope for(int j=0;j<toatal2;j++) ^