Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Concepts of Database Management

Authors: Philip J. Pratt, Joseph J. Adamski

7th edition

978-1111825911, 1111825912, 978-1133684374, 1133684378, 978-111182591

More Books

Students also viewed these Databases questions

Question

Our service is (good) than theirs.

Answered: 1 week ago

Question

Here is the (interesting) of all the ideas I have heard so far.

Answered: 1 week ago