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
Comments
Leave a comment