I am preparing for my java exam, so i am taking a reference from different book. There is a question is a book and I got confuse
Write a program that generates 60 pairs of random integers (int) with values between 1 and 10 000. For each generated pair, use an if-else statement to classify the first value as greater than, less than, or equal to the second value. For output, display BOTH generated values, as well as the classification, in the format “Number 1 < classification > Number 2”, one number pair per output line, where < classification > is one of the phrases “less than,” “equals,” or “greater than.”
I understand how I can use the if-else condition, but don’t understand the “generate 60 pairs of random integer”. I don’t need the solution just the explanation. Do I have to create 60 Arrays with every array only 2 random numbers can add it? And in the question it does not says that I have use array or for or while condition.