Skip to content

Latest commit

 

History

History
11 lines (6 loc) · 242 Bytes

14-number-in-words.md

File metadata and controls

11 lines (6 loc) · 242 Bytes

Number in words

Ask the user to enter a number.

Print out the entered number in words.

E.g. 30,456 becomes "Thirty thousand, four hundred and fifty six".

Things to consider

Make sure the number entered is a valid positive integer.