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