EP 241 Computer Programming
 


EP241 - Homework


Crazy Number

A positive integer number is called crazy number if the sum of its digits is equal to 12.
For example 5403 is a crazy number since 5+4+0+3 = 12.

Write a Fortran program to list and count all crazy numbers less than 10,000.

Hint: Following program may help you:




SOLUTION