I couldnt run this program. Please help me out.

Question:

generate a random numbers in a given range

count the occurrences of each number and return the total in arry 'a'

find the maximum integer in the arry 'a' of size 's'

find the minimum integer in the arry 'a' of size 's'

and using function to find max and min

Please view attachemnt for my program.

thanks.