Write a program that will ask the user to enter a character. Check if it is alphabetic or not. If alphabetic, check whether it is in uppercase or lowercase
Answers
Answered by
0
Explanation:
#include<iostream.h>
void main ()
{char c;
cout<<"enter character:";
cin>>c;
if(isupper(c))
cout<<"uppercase":
else
cout<<"lowercase";
}
Similar questions
Social Sciences,
6 months ago
Hindi,
6 months ago
History,
1 year ago
Social Sciences,
1 year ago
Geography,
1 year ago