Main.cc: In function 'int main()': Main.cc:7:23: error: 'ny' was not declared in this scope for (int i = n; i <= ny; i+=1) { ^