+ 1

Should i Do (-1,11)on Random?

I want to get 0 and 10 at Randomizer Should I Do -1 and 11? Here's my code : https://code.sololearn.com/cusOc2xBtNwG/?ref=app

15th Apr 2019, 1:28 PM
Dharma Fattahul Winzi
1 Answer
0
https://www.dotnetperls.com/random Almost Min value is inclusive so should be 0 Max value is exclusive so should be 11 https://code.sololearn.com/cu2HeOviPSHN Please try the loop to confirm the statement
15th Apr 2019, 3:14 PM
sneeze
sneeze - avatar