UPPERcase alphabet:
Example-
A,B,C,D,.........,X,Y,Z
All these alphabet is the upper case.
ASCII value for upper case alphabet:
A=65
B=66
C=67
.....
Y=89
Z=90
program:
#include < iostream>
using namespace std;
int main()
{
char s;
cout<<"Enter any Character"<< endl;
cin>>s;
if(s>='A' && s<='Z')
cout<<"It is upper case";
else
cout<<"It is not a upper case";
return 0;
}
Enter any character
G
It is upper case
Enter any character
h
It is not a upper case