Program doesn't work as it should.

Printable View