Main.cc: In function 'int main()': Main.cc:11:9: error: 'c' was not declared in this scope c=i*(i+1); ^