Quantcast
Channel: MyCoding.net » Java
Viewing all articles
Browse latest Browse all 17

Program to determine if a number is an Armstrong (Narcissistic) number.

$
0
0
An Armstrong number is a number whose sum of the cube of its digits is equal to the number itself. For example: 153 is an Armstrong/Narcissistic number. 153 = 13 + 53 + 33 Similarly, 370 = 33 + 73 … Continue reading

Viewing all articles
Browse latest Browse all 17

Trending Articles