#include <iostream>
#include "conio.h"
#include <string>
usingnamespace std;
int Addition(int x, int y);
int Subtraction(int x, int y);
int Multiplication(int x, int y);
void main(){
int num1;
int num2;
string mathType;
cout << "what do you want to do? add, subtract, or multiply" << endl;
getline (cin, mathtype);
cin.clear();
cout << "you picked" << mathType << endl;
cout << "Enter first number";
cin >> num1;
cout << "Enter second number";
cin >> num2;
if(mathtype == "add")
{Addition(num1, num2)
cout <<"the number added equal << Addition(num1, num2) << endl;}
_getch();
}
int Addition(int x, int y){
int numAnswer;
numAnswer = x + y;
return numAnswer;
}
int Subtraction(int x, int y){
int numAnswer;
numAnswer = x - y;
return numAnswer;
}
int Multiplication(int x, int y){
int numAnswer;
numAnswer = x * y;
return numAnswer;
}