求助

zhangyihao 2021-03-19 21:16:27 1

4题不会了。。。。。。。。。。。。。。呜呜呜,试了800遍了(狗头)

{{ vote && vote.total.up }}

共 2 条回复

zhangyihao

嘿嘿

raoyiou
#include <iostream>
using namespace std;
int main() {
    int a, b;
    cin >> a >> b;
    cout << a << '+' << b << '=' << a + b << endl;
    cout << a << '-' << b << '=' << a - b << endl;
    cout << a << '*' << b << '=' << a * b << endl;
    cout << a << '/' << b << '=' << a / b << "..." << a % b;
    return 0;
}