Main.cc: In function 'int main()': Main.cc:10:45: error: expected primary-expression before ')' token if((t%10)>(t/1000+(t/100)%10+(t/10)%)) ^