Main.cc: In function 'int main()': Main.cc:13:35: error: 'm' was not declared in this scope if( x+y+z==n && 5*x+3*m+x/3==n && z%3==0){ ^