Write a program that converts a number in the range of [0 ... 100] into text.
First check for one-digit numbers and if the number is one-digit, print the appropriate word for it. Then check for two-digit numbers. Print them in two parts: left part (tens = number / 10) and right part (units = number % 10). If the number has 3 digits, it must be 100 and can be considered a special case.
Test your solution here: https://judge.softuni.org/Contests/Practice/Index/506#15.