Create a loop and make 5 iterations, to do it, you need:
Create a count variable and set it to zero, then
Create WHILE loop and set its condition, that will repeat the loop while the count is less than 5.
Inside the loop, you need to increment count by 1 on each iteration. It should be the last line in the loop.
Call the random generator,pass the range numbers (1 and 20) and save the returned value in a_rand_num variable.
Then, call the odd_even function and pass value, that you obtained from the random generator and save the result returned from the function to a parity variable.