Question: H.W: 1- Write a program to print the average of four integers (use function called average)? 2- Write a program to find value of z

H.W: 1- Write a program to print the average of four integers (use function called average)? 2- Write a program to find value of z according to the following equations: z=x+y when r=1 ZX-Y when r=2 z=2x+4y when r=3 (use function called calculations)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
