In this lesson, we will think of a solution together to write a program that takes a number, and prints the digits of the number in words.

Printing numbers in words

Write a program that will take at most a 3-digit number and output each of its digits in words.

Sample input:

432

Sample output:

Four Three Two

Get hands-on with 1200+ tech skills courses.