Question: Write a program in C that will find the average of even numbers and also find the average of the odd numbers from 3 by

Write a program in C that will find the average of even numbers and also find the average of the odd numbers from 3 by 3 matrix. Take the input from user. Print the number in the main function. Use the following prototype: void findEvenOddAvg(int rowSize, int colSize, int mat[rowSize][colSize], int *evenAvg, int *oddAvg)

Step by Step Solution

3.43 Rating (153 Votes )

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 Programming Questions!