Main.cc: In function 'int main()': Main.cc:10:14: error: 'm' was not declared in this scope for(int c=m;c<=a;c++){ ^