Question: Write a method that returns a random number between 1 and 54, excluding the numbers passed in the argument. The method header is specified as
Write a method that returns a random number between 1 and 54, excluding the numbers passed in the argument. The method header is specified as follows:
public static int getRandom(int... numbers)
Step by Step Solution
3.47 Rating (154 Votes )
There are 3 Steps involved in it
Output Enter 10 double number between 1 to 54 10 20 30 40 ... View full answer
Get step-by-step solutions from verified subject matter experts
