Question: Question (70): Write a program that takes a matrix of size N x N of positive integers as input and returns: The largest number The

Question (70): Write a program that takes a matrix of size N x N of positive integers as input and returns: The largest number The smallest number The median The average The sum Use the exception handling to throw an exception in case the user enters a negative number as the input. A message "please enter a positive number" is shown to the users until they enter a positive number. You also need to free the matrix allocated memory at the end of the program. Do not use C++ standard library. You must use pointers and pointer arithmetic to allocate and represent the matrix and to navigate through it
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
