Print armstrong numbers

no output is displayed. please help.
https://hack.codingblocks.com/submission/877333

Your submission is private.
So, share link of your code after saving it in ide of coding blocks

https://ide.codingblocks.com/#/s/17415
here it is.

You need to modify your noofdigits function. It is neither taking the no as parameter nor returning anything. So, your modified code looks like this:
https://ide.codingblocks.com/#/s/17658
If you have any further doubts, feel free to ask me.

it worked.
thanks a lot.