Write a prototype for a function sum_n_avg that has three type double input parameters and two output
Fantastic news! We've Found the answer you've been seeking!
Question:
Write a prototype for a function sum_n_avg that has three type double input parameters and two output parameters.
The function computes the sum and the average of its three input arguments and relays its results through two output parameters.
What would be the effect of the following sequence of calls to function order? (Hint: Trace the calls for num1 = 8, num2 = 12, num3 = 10.)
order(&num3, &num2); order(&num2, &num1); order(&num3, &num2);
Posted Date: