Question: In C++ Provide code that achieves the following objectives. 1. [1pt] - Declare a vector that stores double values 2. [1pt] - Insert the values
In C++![In C++ Provide code that achieves the following objectives. 1. [1pt]](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f307473d9eb_14266f30746d41f9.jpg)
Provide code that achieves the following objectives. 1. [1pt] - Declare a vector that stores double values 2. [1pt] - Insert the values 1.7 and 2.8 to the vector 3. [2pts] - Iterate over the vector and output the values to the terminal You do not need to create a complete program, just provide the code required for objectives. You may assume 'using namespace std ' has been declared
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
