Computer Science, asked by ramesh4647, 1 year ago

write a program to find Armstrong number

Answers

Answered by Dhivishvarshan
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;

ramesh4647: i need bluej
ramesh4647: not c++
Answered by Anonymous
3
hey mate ur answer is in attachment
Attachments:
Similar questions