Java program to check Armstrong number

Armstrong number is a 3 digit number which is equal to sum of cube of its digits.
For example: 371,153
In this post,  we will see how to check for Armstrong number in java.
When you run above program, you will get following output.
Please go through Frequently asked java interview Programs for more such programs.

Was this post helpful?

Leave a Reply

Your email address will not be published. Required fields are marked *