Random generator with void

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
Topic archived. No new replies allowed.