#include<stdio.h>
#include<conio.h>
#include<iostream.h>
void main()
{
char n;
clrscr();
cout<<"Enter any lower case character : ";
cin>>n;
cout<<"Same upper case character is : "<<n-32;
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 lower case character : ";
cin>>n;
cout<<"Same upper case character is : "<<n-32;
getch();
}
////////////////////////////////////////////
Copy & paste this code in your TC & run, then you will get output.......
If you have any problem please comment below.........