Run ID:72928
提交时间:2024-05-14 18:15:41
#include<bits/stdc++.h> using namespace std; int main(){ char op; int a,b; cin >>a >>op >>b; if(op=='+') { cout <<a+b; } if(op=='-') { cout <<a-b; } if(op=='*') { cout <<a*b; } if(op=='/') { cout <<a/b; } return 0; }