How can I display the output here

Can u pls hepl me to display the o/p in this case???