Course of Raku / Essentials / 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-four

Solution

See the solution

Course navigation

Typed variables / Allomorphs   |   Associative data types

Translations of this page: EnglishDeutschEspañolItalianoLatviešuNederlandsБългарскиРусскийУкраїнська