WAP to check whether the character entered through the keyboard is a lower case alphabet or not
void main() { char no; clrscr(); printf("Enter the number"); scanf("%c", &no); (no>=97 && no<=122)? printf("\n\nIt is a lower case alphabet"):printf("\n\nIt is not a lower case alphabet"); getch(); }
No comments:
Post a Comment