change in TextInput convert commands toUpperCase
This commit is contained in:
+1
-1
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user