Question: How can I write a function void min_max(int *parry, int n)which displays the minimum and maximum numbers in an array of n integers. Call this

How can I write a function "void min_max(int *parry, int n)"which displays the minimum and maximum numbers in an array of n integers. Call this function in main with user input. For example,declare an array of 8 integers, ask the user to enter the 8 integers,and call the min_max function to display the smallest and largest numbers in the array.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!