#include <iostream>
using namespace std;

int main() {
    int a, b;
    cout << "请输入两个整数:";
    cin >> a >> b;
    cout << "它们的和为:" << a + b << endl;
    cout << "它们的差为:" << a - b << endl;
    cout << "它们的积为:" << a * b << endl;
    if (b != 0) {  // 判断b是否为0,避免出现除数为0的情况
        cout << "它们的商为:" << a / b << endl;
    } else {
        cout << "除数不能为0!" << endl;
    }
    return 0;
}
</iostream>