package homework;
import java.util.Scanner;
public class Test
{
public static void main(String[] args)
{
int number1 = (int) (System.currentTimeMillis() % 10); //从1970年开始到现在这个时刻的毫秒值
int number2 = (int) (System.currentTimeMillis() / 7 % 10); //从1970年开始到现在这个时刻的毫秒值
System.out.println(number1 + " . " + number2);
Scanner scan = new Scanner(System.in);
System.out.println("what is" + number1 + "+" + number2 + "?");
int answer = scan.nextInt();
System.out.println(number1 + "+"+number2 + "=" + answer + "is"+ (number1 + number2 == answer));
//System.out.println(System.currentTimeMillis());
}
}