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

Which of the following is a possible Noble gas notation? [Ar] 4s^24p^2 [Ar] 3s^23p^6 [Ar] 4s^23d^104p^2 [Ar] 3s^23d^10
Isaac wants to win a 5K running race, but because he spends several hours after school playing video games, he doesn't have time to train. What type of goal-set
Tom works 14 hours a week for 10 weeks and earns a total of $1,351.00. How much money does he make per hour?
John f. Kennedy replaced Eisenhower's concept of massive retaliation with a _______ response strategy. a. focused b. flexible c. massive d. limited
equivalent fractions for 15/35
What four tools do mapmaker a use for helping readers interpret info on maps
Realism was a fairly influential and widespread literary movement in the United States in the latter half of the nineteenth century. Which American writer is am
1+1=2 2=2=8 3=3=18 4+4=?
A cartel differs from a monopoly in that
What is 805 thousandths in a decimal form