Main.cc: In function 'int main()': Main.cc:8:5: error: 'q' was not declared in this scope q=c+d*10; ^