change in TextInput convert commands toUpperCase

This commit is contained in:
schrom01 2021-11-11 17:48:26 +01:00
parent 93d1c7b397
commit 6a60150a19
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ public class TextInput {
private static final Scanner sc = new Scanner(System.in); private static final Scanner sc = new Scanner(System.in);
public static String[] checkForInput() { public static String[] checkForInput() {
return sc.nextLine().split(" "); return sc.nextLine().toUpperCase().split(" ");
} }
public static String getTextInput() { public static String getTextInput() {