Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

plz give the answer within 20 minutes.its urgent Q1. Write a program in C that will find the maximum number and minimum number from an

plz give the answer within 20 minutes.its urgentimage text in transcribed

Q1. Write a program in C that will find the maximum number and minimum number from an array and print those numbers in the main function. The size of the array will be 10. take the input from the user use the following function prototype: void findMaxMinArr(int size, int *arr, int *max, int *min) Your answer Q2. Write a program in C that will find the minimum number among 3 numbers and also find whether the number is even or odd. You have to use the pointer variable and print the minimum number and also even or odd message in the main function. take the user input and use the following function prototype: void find MinNumber(int *num], int *num2, int *num3, int *min) and void findEvenOdd(int *number, int *key) Your answer Q3. Write a program in C that will find the average of even numbers and also find the average of the odd numbers from the 3 by 3 matrix. Take the input from the 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

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

Step: 3

blur-text-image

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

Beginning ASP.NET 4.5 Databases

Authors: Sandeep Chanda, Damien Foggon

3rd Edition

1430243805, 978-1430243809

More Books

Students also viewed these Databases questions

Question

1. How will you, as city manager, handle these requests?

Answered: 1 week ago

Question

1. Identify the sources for this conflict.

Answered: 1 week ago