Selvan is working as a QC in a reputed Multinational Conglmerate. His task is to check if the given Keyboard has a valid alphabets. But since many Keyboards are need to be verified, he is finding is difficult to finish the task.
#include <stdio.h>
int main()
{char ch;
scanf("%c",&ch);
if((ch>='a' && ch<='z') || (ch>='A' && ch<='Z')){printf("ALPHABET");}
else{printf("NOT AN ALPHABET");}
return 0;
}
Comments
Post a Comment