Question: in c language not c++ inputs from user 1. Create a program in the following way: In the main function declare a static two-dimensional array

 in c language not c++ inputs from user 1. Create a

in c language not c++

inputs from user

1. Create a program in the following way: In the main function declare a static two-dimensional array with M rows and N columns. Write a function which will calculate the value of the elements according to the formula (ij are indices of the element): B;j =li +1)*(; +1). Write a function printing the array. Write a function which calculates average of all the elements of the array. The result should be printed inside the main function. Write two functions which returns number of the elements greater than average and less than average. The result should be printed inside the main function. Write a function which returns the n-th row of the array. The result should be passed to the function as an argument. Use for this purpose a one dimensional vector dynamically allocated in the main function. Write a function which prints the n-th row obtained by using the function from previous point

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!