I have to do a project for my Computer Science class. The problem is:
Patrons of a library can borrow up to three books. A patron, therefore, has a name and up to three
nextLine eats the newline character. nextInt leaves it in the input buffer, and the next readLine terminates immediately.
Quick fix: use readLine for everything, then parse the int from string read.