Question
C++ Functions There are many reasons why one would want to know the minimum and the maximum of a series of values: flight control, range
C++ Functions
There are many reasons why one would want to know the minimum and the maximum of a series of values: flight control, range determinate, even in academia, professors often seek the distribution of grades on homework, exams, and class grades.
For this lab, you will write a program which will include a minimum function and a maximum function. Both functions should take in three values. The minimum function should return the minimum of the three values and the maximum should return the maximum of the three values.
The values should be entered by the user. So, at the very least, your program should have three functions:
main( ) minimum( ) maximum( )
Beyond that, feel free to modularize your code as you wish.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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