Why I am not getting correct output ?
@vaishnavtannu corrected and commented dont forget to hit like and mark resolved if cleared