Main.cc: In function 'int main()': Main.cc:9:20: error: 'i' was not declared in this scope for(char x='Z';i>='A';x--) ^