C++ Test

profilela_luu

Must be Online at the same time I am during the test. I will forward the test questions (3) and you will write the code and send them back error free.

A will be sending an assisgnment first to be sure you know how to code before the day of the test.

 

Write a C
++
program that requests five integer values from the user. It then prints the maximum and
minimum values entered. If the user enters the values 3, 2, 5, 0, and 1, the program would indicate
that 5 is the maximum and 0 is the minimum. Your program should handle ties properly; for example,if the user enters 2, 4 2, 3 and 3, the program should report 2 as the minimum and 4 as maximum.
 
Write a C
++
program that allows the user to enter any number of non-negative double-precision
floating-point values. The user terminates the input list with any negative value. The program then
prints the sum, average (arithmetic mean), maximum, and minimum of the values entered. The
terminating negative value is
not used in the computations
    • 9 years ago
    • 25
    Answer(1)

    Purchase the answer to view it

    blurred-text
    NOT RATED
    • attachment
      include1.docx
    Bids(0)