Question: 1. (10 points) Write the function prototy pe for each function d garnmeters described below by the most appropriate data type for the returnv example

 1. (10 points) Write the function prototy pe for each function

1. (10 points) Write the function prototy pe for each function d garnmeters described below by the most appropriate data type for the returnv example call to the function to help you write the proto type. To receive full redit, use data toypes that best describe the function's use and speciy input parameters to be pass by reference only when necessary a) (5 points) The function output stats displays the average (given in the I" argument and the number of data points (given in the 2nd argument). If the 3M arguments then the function will display both the average and the number of data points. Otherwise, the function will only display the average. This call to the function output stats(2+ 7)/2.0, 2 true) outputs The average is 4.5 for 2 data points This call to the function output stats((2+)/2.0, 2, false) outputs The average is 4.5 Complete the function prototype by filling in the underlined sections below: toon output-stats ( A- int b) (5 points) The function eirele area computes the area of a circle given its radius and the circumference. The radius is a whole number (see below). An example is shown here: int mainO // Assume the variable circun, has been appropriately declared cout

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!