#include <iostream>
using namespace std;
int main()
{
int x;
int y;
cout << "請輸入 x " << endl;
cin >> x;
cout << "請輸入 y " << endl;
cin >> y;
cout << "您輸入的 x 是" << x << " y 是 " << y << endl;
cout << "x + y = " << x + y << endl;
cout << "x - y = " << x - y << endl;
cout << "x * y = " << x * y << endl;
cout << "x / y = " << x / y << endl;
cout << "x % y = " << x % y << endl;
system("pause");
return 0;
} |