C Program to find sum of two numbers
printf("Enter any character:");
printf("\nCharacter '%c' is a Uppercase letter.",character);
printf("Character '%c' is a Lowercase letter.",character);
The above program will check the given character is in lowercase or in upper case. If the character's ascii value is in between the 65 to 90 then the character is in uppercase and if character's ascii value is in the range of 92 to 122 then the character is in lower case. We can understand the process of this program by given example:
ascii value of character is 65 so
character>=65 && character<=122 ,True
so the character A is a uppercase character.