Error in the code

sir can u plz point out the error, its not giving correct result

hello @learninggood

pls save ur code in cb ide and share its link with me

check now->