Computer Science, asked by asgharmoin944, 10 months ago

How to implement c program for print Armstrong no​

Answers

Answered by habibqureshii
2

Answer:

C program to check Armstrong number using function

int check_armstrong(long long); long long power(int, int);

int main () { long long n;

printf("Input a number\n"); scanf("%lld", &n);

if (check_armstrong(n) == 1) printf("%lld is an armstrong number.\ ...

return 0; }

int check_armstrong(long long n) { ...

t = n;

while (t != 0) {

Please make my answer Brainlist.

Answered by mpelessoblessing
0

please specify the question

Similar questions