I have written the armstrong code and it is throwing error

i made the code for armstrong number and it is working fine in my sublime text editor but when i compile on online judge it shows error. please look into the code.

@Anku47, since you have declared the return type as bool , so you have to return a boolean value . i.e return true; or return false;, also you had’nt applied any logic to your code so handle that too.