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

how many times greater is the value of the 4 in 640,700 than the value of the 4 in 67,040
Who invented the telephone?
A box containing 20 books costs $297.20. Which equation can be used to find c, the cost per book?
whats 107/10 simplified
Setting up quoted passages includes all of the following tactics EXCEPT
the table shows the cost of a large cheese pizza with toppings at a local pizzeria. Graph the data, and find the slope and y-intercept from the graph. The write
what is the main idea in a baby's quilt to sew up the generation
what is the shape called that has 16 sides
In the late 1800s, experiments using cathode ray tubes led to the discovery of the (1) electron (3) positron (2) neutron (4) proton
Which author portrayed upper-class Americans in his or her novels? a. Jack London b. Sarah Jewett c. Edith Wharton d. Stephen Crane