Run ID:97222

提交时间:2024-11-11 18:10:04

#include<bits/stdc++.h> using namespace std; int main(){ int a,b; char op; 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; }