+ 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 ...

9th May 2017, 11:03 AM
robert kiprotich
robert kiprotich - avatar
3 odpowiedzi
+ 7
Why tagging "java" if your question is related to C++? @@
9th May 2017, 11:28 AM
visph
visph - avatar
+ 5
srand (time (0)); for (int i=0;i <4;i++) cout <<rand ();
9th May 2017, 11:21 AM
Pixie
Pixie - avatar
- 1
you can also give me a java code im okay with it
28th May 2017, 6:42 AM
robert kiprotich
robert kiprotich - avatar