COMPUTER PROGRAMMING ASSIGNMENT # 1 Max Marks: 10
Write a program that takes the input in digits and displays the result in words from 1 to 1000. For example if user enters 705 then output should look like Seven Hundred and Five. Hint:
If number entered is 1000 then display it directly.
If number entered is 0 then display it directly
Separate the number into digits using division and modulus operator.
Check for each digit separately.