In this programme I have given the concept that whether the input number is armstrong or not.
For this we have to be clear about what the armstrong number is:
I will make clear about it by the help of example:
For example: 153 is armstrong number because 1^3*5^3*3^3 is 153 itself. So if the summation of the entered number is the number itself then it is called armstrong number.
The main source code of this programme is given below:
0 comments :
Post a Comment