Wap to print all Armstrong number up to range using function
i)public unt armstrong (int )
ii) public void print (int range)
Answers
Answered by
1
Answer:
A positive integer is called an Armstrong number of order n if
abcd... = an + bn + cn + dn + ...
In case of an Armstrong number of 3 digits, the sum of cubes of each digit is equal to the number itself.
Similar questions
Computer Science,
2 months ago
Math,
2 months ago
Business Studies,
2 months ago
Computer Science,
5 months ago
English,
11 months ago
History,
11 months ago