Write a program that accepts a number and outputs its equivalent in words.
Ex. Enter a number: 1380 Output: One Thousand Three Hundred Eighty
Note: The maximum input number is 3000
Solution 1: if / else if / else conditional statement
Solution 2: switch / case conditional statement
The answer to the question is available in the PDF file https://www.assignmentexpert.com/https://www.assignmentexpert.com/homework-answers/programming-answer-80214.pdf
Comments
Leave a comment