Computer Science, asked by patelmup1212, 4 months ago

Draw flowchart and write algorithm to to find whether given number is armstrong or not.

Answers

Answered by asuryaprakash5241
4

Answer:

C program and algorithm to check whether a number is armstrong or not.

Start.

read number.

set sum=0 and duplicate=number.

reminder=number%10.

sum=sum+(reminder*reminder*reminder)

number=number/10.

repeat steps 4 to 6 until number > 0.

if sum = duplicate.

I hope this will help you please add me to brainlist plzz and follow me

Similar questions