pull/1/head
黄培毅 6 days ago
parent ea42ffb533
commit 874d0792e5

@ -1,2 +0,0 @@
public interface Info {
}

@ -10,7 +10,7 @@ public class SeniorQuestionGenerator implements QuestionGenerator {
// 确保所有高中题目都包含至少一个sin、cos或tan的运算符
String[] functions = {"sin(", "cos(", "tan("};
String func = functions[random.nextInt(functions.length)];
int angle = random.nextInt(180);
int angle = random.nextInt(100)+1;
question.append(func).append(angle).append(")");

@ -2,7 +2,7 @@
*
*
*/
public class UserInfo implements Info {
public class UserInfo {
private String username;
private String password;
private String userType;

@ -1,39 +0,0 @@
1. 1 * 34 = ?
2. 30 + 93 = ?
3. 82 * 33 = ?
4. 98 * 97 = ?
5. 58 * 77 = ?
6. 97 - 96 = ?
7. 86 - 27 = ?
8. 73 - 22 = ?
9. 52 + 5 = ?
10. 42 - 6 = ?
11. 72 * 62 = ?
12. 60 - 23 = ?
13. 43 - 37 = ?
14. 198 / 99 = ?
15. 4 / 1 = ?
16. 42 + 57 = ?
17. 356 / 89 = ?
18. 144 / 36 = ?
19. 189 / 21 = ?
20. 74 + 43 = ?
Loading…
Cancel
Save