Main.cc: In function 'int main()': Main.cc:11:2: error: expected ';' before 'cout' cout << n*a*a << endl; ^