Display the array contents

After populating the array, the program displays the contents of the array in forward order.

Forward order means beginning with the element at index 0 and progressing to the element at index 4.

Display the average of the element values

Following this, the program computes and displays the average of the values stored in the array.

Display minimum and maximum values

Finally, the program finds and displays the minimum and maximum values stored in the array.