Create a function that takes two ints and returns the


Create a function that takes two ints and returns the average (float) of those two ints. Include a function prototype. In main call the function with two int inputs of your choice and print the returned value to the output window. Check your function against the sample runs before submitting it. Only submit the .c file.

Sample Run 1

The average of 745 and 892 is 818.5.

Sample Run 2

The average of 7 and 11 is 9.0.

Solution Preview :

Prepared by a verified Expert
Basic Computer Science: Create a function that takes two ints and returns the
Reference No:- TGS02355068

Now Priced at $10 (50% Discount)

Recommended (96%)

Rated (4.8/5)