Main.cc: In function 'int main()': Main.cc:31:2: error: expected initializer before 'cin' cin>>n; ^ Main.cc:33:5: error: 'n' was not declared in this scope if(n<0){ ^ Main.cc:36:8: error: 'm' was not declared in this scope while(m>0){ ^ Main.cc:37:10: error: 'n' was not declared in this scope if(max