Problem Description

Number equals sum of cubes of its digits. Example: 153 = 1³+5³+3³
Real Life: Special numbers in mathematics.

Step-by-Step Logic:
1. Take original number and save it
2. Extract each digit one by one
3. Calculate cube of each digit
4. Add all cubes
5. If sum equals original, it's Armstrong

Solutions (0)

No solutions submitted yet. Be the first!

Discussion (0)

No comments yet. Start the discussion!

Prev Next