Answered step by step
Verified Expert Solution
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 urgent
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
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