Study the following program and complete the table.
#include <iostream> #include <cmath>using namespace std;int main( ){ double value1, value2, value3; cout ≪ "Enter a number: "; cin ≫ value1; value2 = 2 * pow(value1, 2.0); value3 = 3 + value2 / 2 - 1; cout ≪ value3 ≪ endl; return 0;}
If the User Enters… | The Program Will Display What Number (Stored in value3 )? |
2 |
|
5 |
|
4.3 |
|
6 |
|
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.