This program will involve basic math. First you are going to create a main function and create two integer variables. Then you will read in two integers from the console (use cin). Then you will...

1 answer below »

This program will involve basic math.



First you are going to create a main function and create two integer variables.


Then you will read in two integers from the console (use cin).


Then you will create a variable and store the result of the two integers multiplied.


Display the result of the two numbers multiplied together and a new line.


Then add the two numbers and store the result in the variable you created.


Display the result of the two numbers added together and a new line.



Answered Same DayJun 14, 2021

Answer To: This program will involve basic math. First you are going to create a main function and create two...

Aditya answered on Jun 14 2021
171 Votes
#include
using namespace std;
int main()
{
int num1;
int num2;
cin>>num
1;
cin>>num2;
int mul;
mul = num1*num2;
cout< int sum;
sum = num1+num2;
cout< return 0;
}
SOLUTION.PDF

Answer To This Question Is Available To Download

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here