+ 1
The numbers outputted by the program are exactly the same, that doesn't seem like random 🤔
3 Respostas
+ 2
random in c++ isn't going to be random if your seed is not random,thats why your seed should be based on time ....srand(time(0))
https://www.sololearn.com/learn/CPlusPlus/1638/
+ 1
which program?
0
It was regarding rand() function
anyways, figured it out..
thanks for responding 😊