Question: Write a program that reads 9 integers and store them in 2D array. Write the following tasks using functions: 1-Function MinR to find minimum value
Write a program that reads 9 integers and store them in 2D array. Write the following tasks using functions: 1-Function MinR to find minimum value in right diagonal. 2-Function MaxL to find the second max value in the left diagonal. 3-Function CountPrimes to Find the number of prime numbers in the 2D array. 4- Function Swap left diagonal with right diagonal. 5- Function SumRow to find the summation of values in each row.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
