Problem:
Write a program to read a number and print the text of that number.
Exam1:
Enter a Number? 5843
Five Thousands Eight Hundreds Forty Three
Exam2:
Enter a Number? 8476362741
Eight billion four hundred seventy six million three hundred sixty two thousand seven hundred forty one
I was told to use recursion function as a hint
Any idea ?