diff --git a/1ano/2semestre/poo/src/utils/UserInput.java b/1ano/2semestre/poo/src/utils/UserInput.java index 17ba119..78cc134 100644 --- a/1ano/2semestre/poo/src/utils/UserInput.java +++ b/1ano/2semestre/poo/src/utils/UserInput.java @@ -5,7 +5,7 @@ import java.util.Scanner; public class UserInput { public static String input(Scanner sin, String message) { System.out.print(message); - return sin.next(); + return sin.nextLine(); } public static double getNumberBetween(Scanner sin, double min, double max) {