Challenge: Check if the Given Character is an Alphabet
Explore how to use C++ conditional statements to determine whether a given character is an upper-case alphabet, lower-case alphabet, or not an alphabet. This lesson helps you practice character classification and conditional logic through hands-on coding exercises.
We'll cover the following...
We'll cover the following...
Problem statement
In this challenge, you are given a character. Your task is to find whether the given character is an upper-case alphabet, a lower-case alphabet, or a non-alphabetic character.
Input
We have already initialized the variable character ...