Course Solutions Uncategorized (Solved) : C Lab Using Vectors Coach Blue Wants Keep Track Total Average Max Weight Players Wrestling Q26839616 . . . .

(Solved) : C Lab Using Vectors Coach Blue Wants Keep Track Total Average Max Weight Players Wrestling Q26839616 . . . .

 

C++ Lab: Using Vectors

Coach Blue wants to keep track of the total, average

and max weight of the players on his wrestling team.

He asks you to write a program that will prompt the

user ( Coach Blue ) for all 12 players weights. He

does not need to you store any additional information

(other than the weights).

The program should then

output for him, the total weight, the average weight

and the maximum weight.

Specifications

The weights should be stored in a vector of

doubles.

The vector’s doubles must be output on one line,

each number followed by a space.

Also output the total weight.

Also output the average of the vector’s elements.

Also output

OR

PayPal Gateway not configured

OR

PayPal Gateway not configured

Leave a Reply

Your email address will not be published. Required fields are marked *

Related Post