Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

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

Fundamentals Of Database Management Systems

Authors: Mark L. Gillenson

2nd Edition

0470624701, 978-0470624708

More Books

Students also viewed these Databases questions

Question

Key marketing issues

Answered: 1 week ago

Question

2. (1 point) Given AABC, tan A b b

Answered: 1 week ago