Main.cc: In function 'int main()': Main.cc:7:15: error: 'h' was not declared in this scope c=c+2*h; ^