Added Library JLINE

This commit is contained in:
Cametendo
2026-04-21 22:00:28 +02:00
parent 0edbc24003
commit 48f4093906
11 changed files with 47 additions and 5 deletions

View File

@@ -0,0 +1,17 @@
package org.cametendo;
public class YesNo {
public static boolean check(String input) {
switch (input) {
case "Y":
return true;
case "y":
return true;
case "":
return true;
case "n":
return false;
default:
return false;
}
}
}