simple random function question
in
Programming Questions
•
10 months ago
For
random (1, 10), what is the smallest and the biggest integer value can it return?
For both smallest and biggest value is it 1 because 10 can never be returned.
Answer: smallest = 1 , biggest = 1
Is this right?
For both smallest and biggest value is it 1 because 10 can never be returned.
Answer: smallest = 1 , biggest = 1
Is this right?
1