0
Why always 41 ?
3 Respostas
+ 11
Because you forgotten to seed the built-in RNG algorithm using srand().
#include <iostream>
#include <cstdlib>
#include <ctime>
int main()
{
srand(time(0));
std::cout << rand();
}
+ 3
var answer = 42;
--answer;
^^