Main.cc: In function 'int main()': Main.cc:9:9: error: 't' was not declared in this scope t+=n; ^ Main.cc:10:11: error: 'm' was not declared in this scope n=m/k; ^