From 6a60150a19c4967afaee344d3e9ce1a123d3f09d Mon Sep 17 00:00:00 2001 From: schrom01 Date: Thu, 11 Nov 2021 17:48:26 +0100 Subject: [PATCH] change in TextInput convert commands toUpperCase --- src/TextInput.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/TextInput.java b/src/TextInput.java index d4abab5..f7f68d9 100644 --- a/src/TextInput.java +++ b/src/TextInput.java @@ -5,7 +5,7 @@ public class TextInput { private static final Scanner sc = new Scanner(System.in); public static String[] checkForInput() { - return sc.nextLine().split(" "); + return sc.nextLine().toUpperCase().split(" "); } public static String getTextInput() {