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;

Relax

Respuesta :

Otras preguntas

number 34 please guys!!!!!!
Use evidence from "The Story of an Hour" and "A Jury of Her Peers" to explain how literature of the time reflected some women's feelings of being trapped and op
Which of these factors contributed to the growth of postclassical empires? A. The founding of the first democracies B. The fall of the Roman Catholic Church C.
what number is in between 135,918 and 206,034
write a expression that is equivalent to 4(x+3)-2
Rosa made 12 gallons of lemonade to sell at a lemonade stand. How many pints of lemonade did she make
Dalton's dad rode his bike 1 kilometer north, 1 kilometer west, 1 kilometer south, and 2 kilometers east. How many total kilometers will Dalton's dad ride
What did Tecumseh want?
Which compound sentence correctly combines the simple sentences? The sun was setting. We ended the game with a tied score. A. The sun was setti
do Michael Jordan career average of 30.4 per game is a fact or opinion