IS ARMSTRONG NUMBER

I’m not getting any output for the following code given in the link . Please rectify my code and post the correct one so that i can look out for my mistakes .

@Maazkhan change this line
image

i = i/10
if you do i = k/10, the value of k is not changing, so value of i will also not change.
Dont forget to mark the doubt as resolved!