A program that read any character & display ASCII value in Cpp.

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

void main()
{
    char n;
    clrscr();
    cout<<"Enter any character : ";
    cin>>n;
    int a;
    a=n;
    cout<<"The equivalent ASCII value is : "<<a;
    getch();
}



////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........