Please tell why my code is not giving the correct output


this is the link please see why my code is giving the wrong output and please send the corrected output

I have edited your code… Try to submit it now…