0
srand()
How to write and use srand() in a specific time period between ( 1 second to 3 seconds )
2 Respostas
+ 5
srand(time(0));
int rn = rand() % 3 + 1;
+ 2
Srand();
rand();
Function use
https://code.sololearn.com/cfnq633Xsrli/?ref=app
How to write and use srand() in a specific time period between ( 1 second to 3 seconds )