errors with scan.next()

Printable View