Question: Question 1 3 Write a function calc _ avgs ( a , b , c , d ) to accept four integers from the user,
Question
Write a function calcavgs to accept four integers from the user, and return the aver
the even numbers and the average of the odd numbers. If there are no even or no odd numbers, re
for that respective average.
In your main program, ask the user for the four integers, call the function, and display the averag'
and odd numbers as indicated in the examples below.
Examples of program output given possible input
values
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
