Question
Receive as input a single digit. If the user enters a single digit then output Thank You. If the user enters a
letter display No, that’s a letter. If the user enters an alphabetic character that is neither a digit not a letter display invalid input
Input format:
A single digit should be entered
Ouput format:
A single line displaying a message starting Thank You if a digit was entered,No, that’s a letter if a letter was enterd or invalid data if neither an alphabetic character not digit was entered
run 1:
Enter a digit:3
Thank you
Engineering Technology