Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Project # 1 Instructions Objective: The objective of this project is to review functions. Use the file attached, Project 1 . cpp , to start
Project # Instructions
Objective: The objective of this project is to review functions. Use the file attached,
Projectcpp 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.
getTemps This function will get four temperatures from the user. The function
must be a void function and all parameters must be appropriate.
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.
calculateLowTemp This function will calculate the lowest temperatur. This
function must be a value returning function and all parameters must be
appropriate.
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started