wap to find armstrong number from 10 to 1000 in java
Answers
Answered by
2
Answer:
They Are :- 1, 153, 370, 371, 407. In General 0, 1, 153, 370, 371, 407 are the only possible Armstrong Numbers.
Explanation:
Let's see the java program to check Armstrong Number.
class ArmstrongExample{
public static void main(String[] args) {
int c=0,a,temp;
int n=153;//It is the number to check armstrong.
temp=n;
while(n>0)
{
a=n%10
mark mee brainliest answer
.
Similar questions
Social Sciences,
6 months ago
Math,
6 months ago
Math,
1 year ago
Science,
1 year ago
Social Sciences,
1 year ago
Biology,
1 year ago