|
|
@ -62,6 +62,7 @@ public class MathExamGenerator {
|
|
|
|
String input = reader.readLine();
|
|
|
|
String input = reader.readLine();
|
|
|
|
|
|
|
|
|
|
|
|
if (input == null || input.trim().isEmpty()) {
|
|
|
|
if (input == null || input.trim().isEmpty()) {
|
|
|
|
|
|
|
|
System.out.println("输入不能为空,请重新输入");
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
} else if (input.equals("exit")) {
|
|
|
|
} else if (input.equals("exit")) {
|
|
|
|
isRunning = false;
|
|
|
|
isRunning = false;
|
|
|
|