Example 1
A “magic” number is an integer in which the number is equal to the sum of the cubes of its digits. Write a program to determine whether a three digit number entered by the user is a magic number.
Example 2 (challenging)
Write a program which finds the three digit magic number with the rule from above.


LinkBack URL
About LinkBacks
