package cty; import java.util.Scanner; public class Test
{ public static void main(String[] args)
{ int A = (int) (System.currentTimeMillis() % 10); int B = (int) (System.currentTimeMillis() / 7 % 10); System.out.println(A + " . " + B); Scanner scan = new Scanner(System.in); System.out.println("what is" + A + "+" + B + "?"); int answer = scan.nextInt(); System.out.printlnA + "+"+B + "=" + answer + "is"+ (A + B == answer)); //System.out.println(System.currentTimeMillis()); } }