+ 1
hi can someone write me a code that gives out 4 sets of numbers produced randomly in c++ using the rand operator....
output should look like this eg..35425 54254 5556 ...
3 Réponses
+ 7
Why tagging "java" if your question is related to C++? @@
+ 5
srand (time (0));
for (int i=0;i <4;i++)
cout <<rand ();
- 1
you can also give me a java code im okay with it