Followers

Thursday, December 15, 2011

ASCII CODE TO CHARACTER

#include<iostream.h>
#include<conio.h>

void main()
{
 clrscr();
 int num;
 cout<<"Enter the ASCII code : ";
 cin>>num;
 cout<<"The corresponding character is : "<<char(num);
 getch();
}
.................................................................
OUTPUT:(click to enlarge the image)


No comments:

Post a Comment