Question: Write a program that converts spelled-out numbers such as zero and two into digits, such as 0 and 2. When the user inputs a number,
Write a program that converts spelled-out numbers such as “zero” and “two” into digits, such as 0 and 2. When the user inputs a number, the program should print out the corresponding digit. Do it for the values 0, 1, 2, 3, and 4 and write out not a number I know if the user enters something that doesn’t correspond, such as stupid computer!.
Step by Step Solution
3.53 Rating (167 Votes )
There are 3 Steps involved in it
include stdlibfacilitiesh note that different compilersSDEs keep header files in different places so ... View full answer
Get step-by-step solutions from verified subject matter experts
