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

what would be evidence of a galaxy moving toward earth
Black inventors of the 20th century
One_Third of 1/2 cake=___________________ //plz help guys
Find the quotient: 8 ÷ 0.5
what does this NBT test entail
what is the significance of the proximity of slave trade centers to the cotton-growing plantations
plesae show your work/ matt answered 20/25 0f the questions on a test. what percentage of the test has matt answered
newspaper 14 think and review
5 1/2 × 3 1/3 in simplest form
Of the student in Tom's class, 2/3 had perfect attendance this year. Of Maya's class, 3/4 have also been at school each day. In each class, there are 24 student