[try Beta version]
Not logged in

 
Random generator with void

Apr 15, 2017 at 3:39am
Hi my fellow earth dwellers , I need help which I was given a void function to making random numbers , but i don't know how to go with doing the for loop for it. It needs to generate 7 elements(numbers) between 0-100. I've search the internet and hear but nothing similar with void. Please help or demonstrate how to do it .Thank you in advance. P.S. I don't have the code made :(



void Random(int * arr, int min = 0, int range = 100)
Last edited on Apr 15, 2017 at 3:42am
Apr 15, 2017 at 3:58am
Topic archived. No new replies allowed.