Main.cc: In function 'int main()': Main.cc:5:8: error: expected unqualified-id before '>>' token int>>n>>x>>y; ^ Main.cc:6:5: error: 'num' was not declared in this scope num=n-y/x; ^