Computer Science, asked by ambujamvani, 1 year ago

program to find a armstrong number in c


Anonymous: too difficult 4 me its rhyming isn't it

Answers

Answered by varshuraj
1
c programming to check whether a number is armstrong or not.a number is armstrong when the sum of cubes of individual digits of a number is equal to the number itself.for example 371 is an armstrong number as 3*3*3+7*7*7+1*1*1=371.some other armstrong numbers are 0,1,153,370 and 407.

varshuraj: ur welcome
Answered by bcg
1
Armstrong number c program: c programming code to check whether a number is armstrong or not. A number is armstrong if the sum of cubes of individual digits of a number is equal to the number itself. For example 371 is an armstrong number as 33 + 73 + 13 = 371. Some other armstrong numbers are: 0, 1, 153, 370, 407.

Similar questions