(Data processing) Program prompts users to input two numbers; the first value entered is stored in num1, and the second value is stored in num2. Using this program as a starting point, write a program that swaps the values stored in the two variables.
#includeusing namespace std;int main(){double num1, num2, product;cout << "Please type in a number: ";cin >> num1;cout << "Please type in another number: ";cin >> num2;product = num1 * num2;cout << num1 << " times " << num2 << " is " << product << endl;return 0;}
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.