+ 1
How do i create a random number generator
I'm just a beginner, please show me the program of it, so i can understand. https://www.sololearn.com/discuss/2030471/?ref=app
2 Respostas
+ 1
Try using rand() function
Learn more about it here 👇
https://www.google.com/amp/s/www.geeksforgeeks.org/rand-and-srand-in-ccpp/amp/
+ 1
Simply use rand()
Suppose you want random numbers and all should be less than 100 then take
Int i=rand()%101