scan.nextLine doesn't work in a while loop.

Printable View