This is C program to check out the content is lower case or uppercase. Core concept is to show the if the content CH is lower case then Non Zero result will be display as result else the result will zero. For this user declare some required variables for containing the values. Then user define if statement along with for loop. The condition which gets the true will display as result on screen.
This is C program that ask user to check out the content is lower or uppercase.
- Declare the variables.
- Using the method.
- Display result on the screen.
Here is C source code to check out the content is lower or uppercase. The output of this program shown below.
ch = getchar();
if(ch == '.')
printf("%c is lowercase\n", ch);