Main.cc: In function 'int main()': Main.cc:8:5: error: expected ';' before 'int' int a; ^ Main.cc:8:10: warning: statement has no effect [-Wunused-value] int a; ^ Main.cc:9:10: error: 'a' was not declared in this scope cin>>a; ^ Main.cc:25:13: error: expected '}' at end of input return 0; ^