C Program to Check Character is Lowercase or Not

In this tutorial you will learn about the C Program to Check Character is Lowercase or Not and its application with practical example.

C Program to Check Character is Lowercase or not

In this tutorial, we will learn to create a C program that will Check the Character in Lowercase or Not in C programming.

Table Of Contents

Prerequisites

Before starting with this tutorial, we assume that you are the best aware of the following C programming topics:

  • Operators in C Programming.
  • Basic Input and Output function in C Programming.
  • Basic C programming.
  • Conditional Statements in C programming.

What is a character?

The character is a single alphabetical entity in the English language and in any word. These letters can be both capital & small or uppercase & lowercase.

For Example:-

In the “World” word the there are five characters, they are as follows

  1. “W”
  2. “o”
  3. “r”
  4. “l”
  5. ‘d’

Here,

“W” is an uppercase letter.

“o” is a lowercase letter.

“r” is a lowercase letter.

“l” is a lowercase letter.

“d” is a lowercase letter.

Algorithm:-

Program to Check the Character is Lowercase or Uppercase Alphabet

First, will take the character in input from the user. Then will pass that character in the conditional statements to find whether it is lowercase or not.

With the help of this program, we can Check the Character is in lowercase or not.

Program Code:-

Output:-

In the above program, we have first initialized the required variable.

  • chr = it will hold the character value for the input.

Input character from the user.

Finding the character is in lower case or not.

Printing output for the program.

In this tutorial we have learn about the C Program to Check Character is Lowercase or Not and its application with practical example. I hope you will like this tutorial.