I am writing a program where a person needs to choose between whethere they want two integers they have input to be output as a sum quotient product or difference, but when i enter the two integers it just shows all of the possible results rather than recognizing the users choice in terms of which operation they want to use.
#include <iostream>
using namespace std;
int main ()
{
int num1, num2, sum, difference, product, quotient, S, D, P, Q, remainder;