Main.cc:3:9: error: ISO C++ forbids declaration of 'intmain' with no type [-fpermissive]
intmain(){
^
Main.cc: In function 'int intmain()':
Main.cc:4:5: error: 'chari' was not declared in this scope
chari;
^
Main.cc:5:9: error: 'i' was not declared in this scope
for(i='a';i<='z';i++)
^
Main.cc:8:9: error: 'i' was not declared in this scope
for(i='Z';i>='A';i--)
^