My code logic is not working properly code link “https://ide.codingblocks.com/s/323483”
Armstrong number
@lokeshverma764 hi bro, many silly mistakes were there, corrected and commented there.
Now dry run it by yourself on small input and do read the comments.
Also mark the doubt resolved.
Happy coding!