#include <iostream>
#include <string>
using namespace std;
int Calculator(int x,int y){
int answera = x + y;
int answerb = x - y;
int answerc = x * y;
int answerd = x / y;
cout << x << " + " << y << " equals..." << answera << endl;
cout << x << " - " << y << " equals..." << answerb << endl;
cout << x << " * " << y << " equals..." << answerc << endl;
cout << x << " / " << y << " equals..." << answerd << endl;
}
int main()
{
Calculator(2000,1000);
system("PAUSE");
return 0;
}
why cant i say cin >> Calculator or cin >> x; or something in order to input into the parameter so the parameter function can output something from a input thx. im new to c++ if this isnt possible what choice should i use cases?