Why does this doesn't return random number? | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 1

Why does this doesn't return random number?

#include <iostream> #include <cstdlib> using namespace std int main() { srand(79) ; //any number instead of 79 cout<<rand()<<endl; }

13th Jun 2018, 7:20 AM
Neel Rathod
Neel Rathod - avatar
0 ответов