Armstrong Number

Why it is showing wrong output

It is showing wrong output because in this question you have to make a bool function which you have not made that will return the value if the number is armstrong number or number and you have to output that value returned. If 1 is returned then you have to print true else false.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.