Question: Write a program segment to read a character from the keyboard and to determine if it is a letter (a - z or A -

Write a program segment to read a character from the keyboard and to determine if it is a letter (a - z or A - Z), a digit (0' - 9'), or a special character (any other character). If it is a letter, print the message letter; if it is a digit, print the message digit; and if it is a special character, print the message special character.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!