Main.cc: In function 'int main()': Main.cc:10:28: error: expected primary-expression before ')' token if(a%i==0&&b%i==0&&){ ^