Main.cc: In function 'int main()': Main.cc:10:8: error: 'a' was not declared in this scope if(a%3==0&&a%5==0) ^