Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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 pointStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started