Answered You can hire a professional tutor to get the answer.

QUESTION

Why do programs sometimes include thesrand()function before therand()function ?

Why do programs sometimes include the srand() function before the rand() function ?

Without srand(), the program makes the same sequence of numbers every time it is run.

Without srand(), the results of rand() are unpredictable.

srand() doubles the range of values than rand() can produce.

srand() turns the values of rand() into integers.

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question