Question: Answer the question in the space provided. 1.) What does the following code segment display? Be sure to format your output appropriately (10 pts) #include

 Answer the question in the space provided. 1.) What does the

Answer the question in the space provided. 1.) What does the following code segment display? Be sure to format your output appropriately (10 pts) #include "stdio.h" double poly(double a, double b); int main() double a=0.0; a = poly (6, 6); printf("f(102,100) = $7.21f ", poly (102,100)); printf("f(-1,1) = 84.21f ", poly(-1,1)); printf("a = 87.51f ", a); printf("%5.31f ", poly(a, 0)); printf("%6.41f ", poly (a+1, a)); return 0; double poly (double a, double b) double result = a - b; if (result 200)) { result = 33.33; return result

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!