Question: Write C # Sharp to Calculate the Maximum and Minimum of elements of two arrays and print them. Create function to calculate the Maximum and
Write C # Sharp to Calculate the Maximum and Minimum of elements of two arrays and print them.
Create function to calculate the Maximum and the value Minimum of an array and use it in both situations.
Input: A {10, 4, 17, 45, 8, 23}
Input: B {22, 14, 27, 12, 18, 43}
Output:
Minimum element of array A is 4
Maximum element of array A is 45
Minimum element of array B is 12
Maximum element of array B is 43
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
