Main.cc: In function 'int main()': Main.cc:6:2: error: 'num' was not declared in this scope num=n-y/x; ^