subject

Write a single c++ program that contains two functions: 1. first function: void minandmax () pre-condition: the function takes five integers as parameters post-condition: the function returns the maximum and minimum of a, b, and c values back to the main function. 2. second function: double findavg pre-condition: the function takes three integers as parameters post-condition: the function returns the average (double) for these three integers back to the main function generate three random integers between 1 and 100 in the main() and call both minandmax and findavg functions from the main funetion as well.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 21:50
Description: write function lastfirst() that takes one argument—a list of strings of the format "lastname, firstname" —and returns a list consisting of two lists: (a) a list of all the last names (b) a list of all the first names
Answers: 2
question
Computers and Technology, 24.06.2019 11:30
Convert 11001110(acdd notation) into decimal
Answers: 2
question
Computers and Technology, 24.06.2019 21:40
is on drugs i swear i ask a question and its not showing whats going
Answers: 2
question
Computers and Technology, 25.06.2019 01:00
When a new name is registered on the internet, the process can take two hours to four hours four hours to three days two hours to two days one hour to eight hours
Answers: 1
You know the right answer?
Write a single c++ program that contains two functions: 1. first function: void minandmax () pre-c...
Questions
question
Chemistry, 05.11.2020 22:40
question
Mathematics, 05.11.2020 22:40
question
Mathematics, 05.11.2020 22:40
question
German, 05.11.2020 22:40
question
Mathematics, 05.11.2020 22:40
question
Mathematics, 05.11.2020 22:40
question
Mathematics, 05.11.2020 22:40
question
SAT, 05.11.2020 22:40
Questions on the website: 13722362