Multiple Choice
Which of the following statements will assign number a value from 90 - 100.
A) number = rand() % 90 + 10;
B) number = rand() % 90 + 11;
C) number = rand() % 10 + 90;
D) number = rand() % 11 + 90;
E) None of the above.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q15: In C++, a value can be raised
Q16: The following pair of C++ statements is
Q17: The cin object can be used to
Q18: To use the sqrt() function, or other
Q19: If the value of dollars is 5.0,
Q21: The _ stream manipulator can be used
Q22: _ can be used to override the
Q23: The _ object causes data to be
Q24: The following two statements will assign the
Q25: The following statement number = rand() %