random integer 5x5 grid

I have a homework question where it asks for a 5x5 grid that is filled with random integers ranging from 1-10, can you guys give me a hint on where to begin? Am i supposed to put {rand()%10+1} when defining what's in the array.
Topic archived. No new replies allowed.