|
|
|
|
@ -1,30 +0,0 @@
|
|
|
|
|
import java.sql.SQLOutput;
|
|
|
|
|
import java.util.Scanner;
|
|
|
|
|
|
|
|
|
|
public class Test {
|
|
|
|
|
public static void main(String[] args) {
|
|
|
|
|
System.out.println("请用数字选择你所需要的语言。");
|
|
|
|
|
System.out.println("Please use numbers to select the language you need.");
|
|
|
|
|
System.out.println("1.中文 2.English");
|
|
|
|
|
Scanner sc=new Scanner(System.in);
|
|
|
|
|
int a=sc.nextInt();
|
|
|
|
|
if(a==1){
|
|
|
|
|
System.out.println("请完成以下10个四则运算题,限时10秒。");
|
|
|
|
|
}else{
|
|
|
|
|
System.out.println("Please complete the following 10 four arithmetic questions in 10 seconds.");
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
for(int i=0;i<2;i++){
|
|
|
|
|
Question question=new Question();
|
|
|
|
|
question.setEquation();
|
|
|
|
|
System.out.println(question.getEquation());
|
|
|
|
|
// question.result();
|
|
|
|
|
// System.out.println(question.getEquation());
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|