import java.util.Scanner;
public class Boolean {
public static void main(String[] args){
Scanner input=new Scanner(System.in);
int num1=(int)(System.currentTimeMillis()%10);
int num2=(int)(System.currentTimeMillis()/5%10);
System.out.println("what is "+num1+" + "+num2);
int answer=input.nextInt();
System.out.println(num1+" + "+num2+"="+answer+" is "+(num1+num2==answer));
}
}
了解Boolean
最新推荐文章于 2024-01-05 08:00:00 发布