Cannot get my program to exit properly (switch related)

Printable View