In the formula used for generating random numbers within a specific range (int number = a + rand( ) % n;), the n represents?

  1. the first value in the range of numbers.

  2. the last value in the range of numbers.

  3. the number of terms in the range of numbers.

  4. the number of guesses the user will be allowed.


Correct Option: C

Find more quizzes: