Course of Raku / Essentials / More about types / Positional data types / Exercises
Spell a number
Problem
Write a program that takes a positive integer number from the command line and spells it in English. Solve the problem for the numbers below 100.
Example
$ raku spell-a-number.raku 34
thirty-fourSolution
Course navigation
← Solution: Print a series of numbers | Solution: Spell a number →
Translations of this page: English • Deutsch • Español • Italiano • Latviešu • Nederlands • Български • Русский • Українська