Question: Write a program that reads a character from keyboard and identifies if the input is an alphabetic letter, a digit, or an arithmetic operator (i.e.
Write a program that reads a character from keyboard and identifies if the input is an alphabetic letter, a digit, or an arithmetic operator (i.e. +,-, *, or /). Based on the input character, one of the following messages is displayed on the screen: character The input character is an alphabetic letter The input character is a digit. The input character is an arithmetic operator. - A character with the ASCII code of Please notice that in case the input character is not a letter, a digit, or an arithmetic operator, the last message is displayed that shows the ASCII code of the input character NOTE There is no limitation on the input character in this program. was entered
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
