QUESTION IMAGE
Question
what technology format could be used to generate fifteen random numbers between 1 and 850? choose the correct answer below. a. randint(15,850) b. randint(1,850,15) c. randint(fifteen,1,850) d. randint(1,850)
Step1: Understand random - number generation function
In many programming languages and software with random - number generation functions like RandInt, the typical format is RandInt(min, max, num) where min is the minimum value of the range, max is the maximum value of the range, and num is the number of random numbers to generate.
Step2: Identify the correct parameters
We want 15 random numbers between 1 and 850. So, min = 1, max = 850, and num=15. The correct format should be RandInt(1,850,15).
Snap & solve any problem in the app
Get step-by-step solutions on Sovi AI
Photo-based solutions with guided steps
Explore more problems and detailed explanations
B. RandInt(1,850,15)