Answered step by step
Verified Expert Solution
Question
1 Approved 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
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) Your answer Q4. Implement the following function which accepts a string as a parameter and check if the string is palindrome or not, without using any function from the string library. Take the user input.print the palindrome message in the main function using isPalindromeKey pointer variable if the value is 0 then not palindrome and if the value is 1 then palindrome. Function prototype: void checkPalindrome(char *str, int *isPalindromeKey) Your
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