Write a program that takes a positive integer as input.

a) Write a program that takes a positive integer as input. If input is negative print
appropriate message and prompt the user to enter positive number until correct input is
received. For positive number, print its individual digit in words. For example, if input is 2694 then output should be: “Two Six Nine Four”.

Leave a Reply