/* Exploring Functions Exercise. Predict the output from this program for the following input values: 3 5 7 */ #include float find_total(float a, float b, float c) { return (a + b + c); } float find_average(float a, int b) { return a / b; } int main(void) { float x, y, z; /* Input values */ float sum; /* total of numbers */ float mean; /* statistical mean (average) */ printf("Total of 7+8+9 is %.1f\n", find_total(7,8,9) ); printf("Enter three numbers: "); scanf("%f%f%f", &x, &y, &z); printf("Sum of %.1f and %.1f and %.1f: %.1f\n", x, y, z, find_total(x, y, z)); sum = find_total(x, y, z); printf("Average of the three numbers is %.1f\n", find_average(sum, 3)); mean = find_average(sum, 3); printf("Another average: %.1f\n", find_average(find_total(5,4,6), mean)); return 0; }