I have tried to print the Characters.. but loop stops at 20 as i wanted but next it again ask for character hit for each character till 26 ... there it stops completely.... what..is this..
Code:#include <iostream.h> #include <conio.h> int main(void) { clrscr(); cout<<"Number:\tResult"<<endl; cout<<"------:\t------"<<endl; for (int i = 0;i<256;i++) { cout<<i<<":\t"<< char(i)<<endl; if(i / 20) { cout<<"Hit any key to continue..."; getch(); } } cout<<"Asci Chart ended."<<endl; getch(); return 0; }