Computer Science, asked by suprajav78, 1 year ago

Write a C++ Program to find the given character is special character, number ,uppercase alphabet or lowercase alphabet.If the given character is uppercase alphabet means change it to lowercase character and viceversa.
Please answer soon...

Answers

Answered by timothymathew
0

#include <stdio.h>

int main()

{

char c;

printf("Enter a character: ");

scanf("%c",&c);

if( (c>='a' && c<='z') || (c>='A' && c<='Z'))

printf("%c is an alphabet.",c);

else

printf("%c is not an alphabet.",c);

return 0;

}

Similar questions