Question: how to add subtract multiply and divide in c++?
Answer: In this C++ Program to add subtract divide and multiply two numbers, we define two variables num1 and num2 to store the data entered by the user. Sum, subtraction, multiplication and division are calculated as num1 + num2, num1 – num2, num1 * num2 and num1 / num2 respectively.