/*See Uppercase or lower case yes or not Program*/
#include"stdio.h"
#include"conio.h"
#include"ctype.h"
void main()
{
clrscr();
char alphabet;
printf("Enter an alphabet=");
scanf("%c",&alphabet);
alphabet=getchar();
if(islower(alphabet))
putchar(toupper(alphabet));
else
putchar(tolower(alphabet));
getch();
}
#include"stdio.h"
#include"conio.h"
#include"ctype.h"
void main()
{
clrscr();
char alphabet;
printf("Enter an alphabet=");
scanf("%c",&alphabet);
alphabet=getchar();
if(islower(alphabet))
putchar(toupper(alphabet));
else
putchar(tolower(alphabet));
getch();
}
No comments:
Post a Comment
Thank you for visit this site. You will get many programming news from here and learn programming very easily.