write a program to find Armstrong number
Answers
Answered by
1
* C Program to Check whether a given Number is Armstrong.
#include <math.h>
int number, sum = 0, rem = 0, cube = 0, temp;
printf ("enter a number");
scanf("%d", &number);
temp = number;
while (number != 0)
rem = number % 10;
#include <math.h>
int number, sum = 0, rem = 0, cube = 0, temp;
printf ("enter a number");
scanf("%d", &number);
temp = number;
while (number != 0)
rem = number % 10;
ramesh4647:
i need bluej
Answered by
3
hey mate ur answer is in attachment
Attachments:
Similar questions
Science,
6 months ago
Social Sciences,
6 months ago
Physics,
1 year ago
History,
1 year ago
Math,
1 year ago