Main.cc: In function 'int main()': Main.cc:9:22: error: 'a' was not declared in this scope scanf ("%d %d\n",a b); ^ Main.cc:11:7: error: 'b' was not declared in this scope d=b/a; ^