Program # 3: Find out the Symbol from ASCII Character set
//Program to find out the symbol from ASCII character set (Level - low)
#include <iostream.h>
#include <conio.h>
void main ()
{
clrscr(); int n,n1;
char ch,ch1; //Declare
character variables
cout<<"Enter any number = ";
cin >> n; ch = n;
cout<<"The character of given number
is = "<<ch<<endl;
cout<<"Press any character on the keyboard
= ";
cin >> ch1; n1 = ch1;
cout<<"The numeric value
of given character is = "<<n1;
getch();
}
0 Comments