Question: Project # 1 Instructions Objective: The objective of this project is to review functions. Use the file attached, Project 1 . cpp , to start

Project #1 Instructions
Objective: The objective of this project is to review functions. Use the file attached,
Project1.cpp, to start this project. Open the file and copy it into your main.cpp in
Replit. Revise the program so that it contains the functions listed as follows. You must
follow the specifications for each function exactly to demonstrate to me that you can
write both void functions and value returning functions and use value and reference
parameters appropriately.
1. getTemps - This function will get four temperatures from the user. The function
must be a void function and all parameters must be appropriate.
2. calculateTotalAve - This function will calculate the total and average of the
temperatures. The function must be a void function and all parameters must be
appropriate.
3. calculateLowTemp - This function will calculate the lowest temperatur. This
function must be a value returning function and all parameters must be
appropriate.
4. display - This function will display the temperatures, total temperature, average
temperature and lowest temperature. This function must be a void function and
all parameters must be appropriate.
Project Requirements (all must be included to receive full credit):
The main program should be made up a series of function calls. No function
(other than main) should call another function
All function definitions should follow the main program and have prototypes prior
to the main program
You may choose to change the names of the functions suggested above, but use
the four functions described exactly (including one value returning function)
Your program must contain the following documentation (comments):
o comments at the top containing your name and a brief explanation of the
program
o comments prior to each function definition explaining the purpose of the
function

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!