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

Which number is an irrational number?
Demarco wrote two correct variable expressions to represent the phrase “the product of a number and 7”. Which variable expressions could Demarco have written? S
Find the value of x where the function is discontinuous. f(x)=x^3+3^x
A person whose body can still function properly without the drugs but still craves the drug even though the high is not as intense is
What is the height of an airplane as it descends to an airport runway
most children that enter child welfare system have experienced what type of trauma? Acute, Chronic or Complex
How do I solve this equation 144=-12(x+5)
A soccer team is having a car wash. The team spent $55 on supplies. They earned $275, including tips. The team's profit is the amount the team made after paying
How many distinct pairs of disjoint non-empty subsets of A are there, the union of which is all of A? A {0,4,5,7}
149903 rounded to the nearest hundred thousand