pull/2/head
黄培毅 1 week ago
parent ea8f822117
commit d7760f4395

@ -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;

Loading…
Cancel
Save