I'm not sure how to complete this program. I know I have to use max(), min() and pm_random_numbers() to show 7 spaces as a decimal integer. But I don't know how to show 7 random numbers on each line between 1-99 and the number of random numbers (count=6), max and min numbers.HELP!


here's what I have so far:

#include <sdio.h>
#include <stdlib.h>

int max (int a, int b);
int min (int a, int b);
void pm_random_numbers (int k);
int main (void)
{
int n;
printf ("Some random numbers will be printed.\n");
printf("How many would you like to see?";
scanf("%d", &n);
pm_random_numbers (n);
return 0;
}