Java code for Number Trivia game