Srand is well incorporated in this code? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Srand is well incorporated in this code?

https://code.sololearn.com/ciVS66xoje9S/?ref=app

7th Jun 2019, 8:00 PM
Miosotis
2 ответов
+ 1
Miosotis, yes, you can see that if you comment the srand line you always get the same "random" number in your comparison (if the number you input is smaller, otherwise you do not see it).
14th Jun 2019, 6:11 PM
bell
bell - avatar
0
Yes
10th Jun 2019, 6:43 AM
Vlad Serbu
Vlad Serbu - avatar