Create a c program to display in words


Discussion:

Q: Create a C program to display in words what number is entered when a single digit is entered.

Ask the user to enter a digit between 0 and 9. Have the program print out the digit in words, for example:

Enter a digit between 0 and 9: 4
You entered the number four

Assume that the user will enter only a single digit. The user may accidentally enter a single character, and this should generate an error message.

Solution Preview :

Prepared by a verified Expert
C/C++ Programming: Create a c program to display in words
Reference No:- TGS01936267

Now Priced at $20 (50% Discount)

Recommended (95%)

Rated (4.7/5)