EP 241 Computer Programming
 


EP241 - Homework


Number to Name

Write a Fortran program that reads a positive integer number and then prints the english name of each digit of that number in a single line as demonstrated in the example:

For example:

 Enter a positive integer:
 16903

 16903 ==> ONE   SIX   NINE  ZERO  THREE 

Hint: Following program may help you:



SOLUTION