Main.cc: In function ‘int main()’: Main.cc:8:29: error: expected primary-expression before ‘;’ token int n=b*1000+c*100+d*10+; ^ Main.cc:7:9: warning: unused variable ‘e’ [-Wunused-variable] int e=a/1000%10; ^