Write a program in c to function to check lowercase letter
Algorithm:-
· start
· input number
· if(ch>=’a’&&ch<=’z’) it is true then display LOWERCASE CHARACTER.
· else not an alphabet
· end
Flowchart:-
Program:-
#include<stdio.h> #include<conio.h> void characcheck(char ch) { If(ch>=’a’&&ch<=’z’) Printf(“LOWERCASE CHARACTER\n”); Else Printf(“is not an alphabet\n”); } Int main() { char c; printf(“Enter any character\n”); scanf(“%c”,&c); characcheck(c); getch(); return 0; }
Output:
enter any character j LOWERCASE CHARACTER
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
Algorithm:-
· start
· input number
· if(ch>=’a’&&ch<=’z’) it is true then display LOWERCASE CHARACTER.
· else not an alphabet
· end
Flowchart:-
Program:-
Output:
need an explanation for this answer? contact us directly to get an explanation for this answer