Write a program in Java to ask the user to enter any number and print whether the number is Armstrong or not.
An Armstrong number is one whose sum of the cube of the digits is equal to the
number.
Example : 153 =13 + 53 + 33
Share
Write a program in Java to ask the user to enter any number and print whether the number is Armstrong or not.
An Armstrong number is one whose sum of the cube of the digits is equal to the
number.
Example : 153 =13 + 53 + 33
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
0 Replies