You are on page 1of 2

sasasasas#include <iostream>

using namespace std;


int main()
{
int n1;
int n2;

cout << "Enter Ur First Number: ";


cin >> n1;
cout << "Enter Ur Second Number: ";
cin >> n2;
cout << "Select operation: " << endl;

int job = 1;
int job1 = 2;
int job2 = 3;
int job3 = 4;

cout << "1. *" << endl;


cout << "2. :" << endl;
cout << "3. +" << endl;
cout << "4. -" << endl;

if (cin >> job)


{
cout << "Answer: " << n1 * n2 << "\n";
cout << "1. *" << endl;
cout << "2. :" << endl;
cout << "3. +" << endl;
cout << "4. -" << endl;
}
if (cin >> job1)
{
cout << "Answer: " << n1 / n2 << "\n";
cout << "1. *" << endl;
cout << "2. :" << endl;
cout << "3. +" << endl;
cout << "4. -" << endl;

}
if (cin >> job2)
{
cout << "Answer: " << n1 + n2 << "\n";
cout << "1. *" << endl;
cout << "2. :" << endl;
cout << "3. +" << endl;
cout << "4. -" << endl;
}
if (cin >> job2)
{
cout << "Answer: " << n1 - n2 << "\n";
cout << "1. *" << endl;
cout << "2. :" << endl;
cout << "3. +" << endl;
cout << "4. -" << endl;
}

You might also like