Need help. I am not able to get the desired display of output in my program.

Printable View