Java program to find whether given no. is Armstrong or not
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 /*Write a program to find whether given no. is Armstrong or not. Example : Input – 153 Output – 1^3 + 5^3 + 3^3 = 153, so it is Armstrong no. */ class Armstrong{ public […]
February 5th, 2011