Question: HELP PLEASE C++ Instructions When analyzing data sets, such as data for human heights or for human weights, a common step is to adjust the

HELP PLEASE C++

HELP PLEASE C++ Instructions When analyzing data sets, such as data for

Instructions When analyzing data sets, such as data for human heights or for human weights, a common step is to adjust the data. This adjustment can be done by normalizing to values between 0 and 1. Write a code block that reads (from user input) a list of 5 numbers and stores them in a vector of doubles. Then, the block adjusts the values by dividing all of them by the largest value. Output each floating-point value with two digits after the decimal point, which can be achieved by executing: cout #include #include using namespace std; int main() { /* Your code block should be here. */ return 0; Example: If the input is: 103 211 55 31 88 The output should be: 0. 49 1. 00 0. 26 0. 15 0. 42 Additional Notes: Regarding your code's standard output, CodeLab will check for case errors but will ignore whitespace (tabs, spaces, newlines) altogether

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!