Print armstrong nos between n1 and n2

problem link-https://hack.codingblocks.com/contests/c/509/186
my code-https://ide.codingblocks.com/#/s/28313
the loop is running till infinty.
please help.

https://ide.codingblocks.com/#/s/28330

2 Likes

https://ide.codingblocks.com/#/s/28333
i have updated your code and commented the mistake. @aniketL

1 Like