nabilarizwan0987 nabilarizwan0987
  • 23-11-2022
  • Computers and Technology
contestada

Which of the following statements generates a random number between 0 and 50?

Choices;

a. srand(time(0));

num = rand() % 50;

b. srand(time(0));

num = rand()50;

c. srand(time(10));

num = rand() % 50;

d. srand(time(10));

num = rand()/50;

Respuesta :

Otras preguntas

Economist believe that people
Write a paragraph about the company you would like to work for after graduation. Use the following suggestions: Which company would you like to work for? Where
The temperature of a silver bar rises by 10°C when it absorbs 1.23kJ of energy by heat. The mass of the bar is 525g. Determine the specific heat of silver.​
Ang vegetation coner ay
A food worker arranges a display of foods on ice, which food can be set directly on the ice
Which inequality represents all the solutions of 4(3x + 2) < 5(3x − 2)? Select the correct answer.
Can someone help me please.
The Jolly Roger (pirate flag) flies from what part of the ship?
One angle of a right triangle measures 63°. What is the measure of the other acute angle?
According to the US Food and Drug Administration (FDA) what must any product claiming to be organic contain? at least 95% organically produced ingredients at le