Is amstrong number

3 testcases are failing i cannot understand a mistake

hello @SarthakMittal
pls save ur code here- > https://ide.codingblocks.com/

and share the link with me.

image
this should be
n=temp;

Thanks sir got it right!