Question: show the program while written in DEV C++ 1. Write down the output of the following C programs. a) #include float ayg (float, float); int

 show the program while written in DEV C++ 1. Write down

show the program while written in DEV C++

1. Write down the output of the following C programs. a) #include float ayg (float, float); int main() Low float yi, y2, average: y1=5.0: y2=7.0; average = avg (yi, y2); printf("y1 = $f y2=f The average is= $f", yi, y2, average); return 0; } float avg (float x1, float x2) float result; result = (x1+x2)/2; 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!