+ 1
How i can generate number between 2 number a and b, but a have to be diferent to 1
random number between a - b
4 Antworten
+ 5
rand($a,$b)
This would work for you if your language is is php
+ 5
which programming language
+ 2
in C++
+ 2
This will print 2 random numbers from 0-99
num1 = rand() % 100;
num2 = rand() % 100;
if (num1 == num2)
num2 ++;