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,
5 months ago
Math,
5 months ago
English,
5 months ago
History,
10 months ago
Social Sciences,
10 months ago
Geography,
1 year ago