Main.cc: In function ‘int main()’: Main.cc:5:11: error: expected initializer before ‘B’ int A B; ^ Main.cc:8:10: error: ‘A’ was not declared in this scope cin>>A>>B; ^ Main.cc:8:13: error: ‘B’ was not declared in this scope cin>>A>>B; ^