Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed
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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

More Books

Students also viewed these Databases questions