#include<stdio.h>
#include<conio.h>
#include<iostream.h>
void main()
{
char n;
clrscr();
cout<<"Enter any character : ";
cin>>n;
cout<<"The character you have given is : "<<n;
getch();
}
////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........
#include<conio.h>
#include<iostream.h>
void main()
{
char n;
clrscr();
cout<<"Enter any character : ";
cin>>n;
cout<<"The character you have given is : "<<n;
getch();
}
////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........