Example 9: Determine the Character Type
Explore how to write a C program that uses ASCII values to classify characters as uppercase letters, lowercase letters, digits, or special symbols. Understand decision-making in C through multiple if conditions to properly evaluate character types and print the results.
We'll cover the following...
We'll cover the following...
Problem
Write a program that takes a character as an input, and then determine using the ASCII whether the character entered is an upper case alphabet, a lower case alphabet, a digit, or a special symbol. Print your findings on the console.
The ASCII table is given below for your ...