Write a C++ program to input any character and check whether it is the alphabet, digit or special character by using switch statement

Write a C++ program to input any character and check whether it is the alphabet, digit or special character by using the switch statement.

Flowchart of the program to check whether an input is an alphabet, digit or special character – switch statement

Flowchart of the program to check whether an input is an alphabet, digit or special character - switch statement

C++ Source Code of the program to check whether an input is an alphabet, digit or special character – switch statement

Output

Enter a character:

g

It’s alphabet

SFT (Shamil’s Flow Table )

Are you interested to Read about SFT(Shamil’s Flow Table)?

Explanation of the C++ program to find that entered character is the alphabet, digit or special character by using the switch statement in the program.

 

Add a Comment