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, 22.06.2019 08:30
Today is the anniversary of me being on yet, i don't need it anymore! here's a picture of my dog wearing a bowtie! my question is, how do i delete my account?
Answers: 1
question
Computers and Technology, 22.06.2019 18:30
All of the following are characteristics that must be contained in any knowledge representation scheme except
Answers: 3
question
Computers and Technology, 23.06.2019 01:20
Me with this program in c++ ! computers represent color by combining sub-colors red, green, and blue (rgb). each sub-color's value can range from 0 to 255. thus (255, 0, 0) is bright red. (130, 0, 130) is a medium purple. (0, 0, 0) is black, (255, 255, 255) is white, and (40, 40, 40) is a dark gray. (130, 50, 130) is a faded purple, due to the (50, 50, 50) gray part. (in other word, equal amounts of red, green, blue yield gray).given values for red, green, and blue, remove the gray part. ex: if the input is 130 50 130, the output is: 80 0 80. thus, find the smallest value, and then subtract it from all three values, thus removing the gray.
Answers: 3
question
Computers and Technology, 23.06.2019 23:30
A. in packet tracer, only the server-pt device can act as a server. desktop or laptop pcs cannot act as a server. based on your studies so far, explain the client-server model.
Answers: 2
You know the right answer?
Write a single c++ program that contains two functions: 1. first function: void minandmax () pre-c...
Questions
question
Biology, 05.01.2021 03:50
question
Mathematics, 05.01.2021 03:50
question
Biology, 05.01.2021 03:50
question
English, 05.01.2021 03:50
Questions on the website: 13722363