Link Details

Link 1114751 thumbnail
User 1131839 avatar

By Javin_Paul
via java67.blogspot.sg
Published: Feb 20 2014 / 23:46

Write a Java code to find if a number is Armstrong number or not is a good programming kata for Java developers. An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. For example, 371 is an Armstrong number since 3**3 + 7**3 + 1**3 = 371.
  • 8
  • 1
  • 1083
  • 1532

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (8)



Voters Against This Link (1)



Apache Hadoop
Written by: Piotr Krewski
Featured Refcardz: Top Refcardz:
  1. Play
  2. Akka
  3. Design Patterns
  4. OO JS
  5. Cont. Delivery
  1. Play
  2. Java Performance
  3. Akka
  4. REST
  5. Java