Main.cc: In function 'int main()': Main.cc:8:5: error: 'y' was not declared in this scope if(y/x>=n ){ ^ Main.cc:8:7: error: 'x' was not declared in this scope if(y/x>=n ){ ^ Main.cc:8:10: error: 'n' was not declared in this scope if(y/x>=n ){ ^ Main.cc:10:2: error: expected ';' before '}' token }else{ ^