input.nextLine(); // If you're expecting the user to hit enter when done. input.next(); // Just another option.
input.nextLine();
input.next();
It looks like you're new here. If you want to get involved, click one of these buttons!
Comments
input.nextLine();
// If you're expecting the user to hit enter when done.input.next();
// Just another option.