Where is the logic wrong

Whats wrong in the logic…
It is not showing any output