Question: Write a C program that includes the following: 1. (3 points) A function that finds the maximum value in array a and returns the result,

Write a C program that includes the following: 1. (3 points) A function that finds the maximum value in array a and returns the result, with the following prototype int Maximum_Value(int *a, int size); 2. (5 points) A function that finds the minimum prime number in the array a and returns the result, with the following prototype: int Minimum_Prime_Value (int *a, int size); 3. (4 points) The main function that: -Declares two integers named x and y as well as an integer array named Array Min Max that contains 30 elements -Reads Array Min Max from the keyboard. -Calls Maximum_Value to find the maximum value in Array MinMax and saves the result in x -Calls Minimum_Prime_Value to find the minimum prime number in ArrayMin Max and saves the result in
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
