Page 1 of 1

99 3. Write a C function that finds the maximum and minimum value within a two-dimensional array of size 4 by 3. Your fu

Posted: Mon May 09, 2022 6:18 am
by answerhappygod
99 3 Write A C Function That Finds The Maximum And Minimum Value Within A Two Dimensional Array Of Size 4 By 3 Your Fu 1
99 3 Write A C Function That Finds The Maximum And Minimum Value Within A Two Dimensional Array Of Size 4 By 3 Your Fu 1 (50.65 KiB) Viewed 26 times
99 3. Write a C function that finds the maximum and minimum value within a two-dimensional array of size 4 by 3. Your function should take as input a two-dimensional array of floating-point values, finds the minimum and maximum value among all the array elements, and print them to console as: "The minimum value in array is ......" "The maximum value in array is .... In your main function, take user inputs from console to assign array values, then call the function from main to print the minimum and maximum. Try multiple times to make sure your code runs correctly. Do not use any built-in functions to find minimum or maximum values. For this problem, please put your user-defined function and the main function in the same C script. (20 pts)