- 2
Can someone help me?
6 random numbers, with no repetition, Your program must ask for the minimum and maximum numbers to define the range. The output should be 6 different numbers within the range. Example output: Min: 4 Max: 19, Output: 8, 5, 3, 18, 12, 7
7 ответов
+ 1
only one number becomes the output
+ 1
Thank you very much bro
+ 1
You could working too in the next case test, when min and max are same number. (Sorry my English is not good). 😊
0
Math.round(Math.random()*(max-min+1))+min
formula for generating random number between min and max
0
Leper Use your language we can translate it.