Run ID:62331
提交时间:2023-12-23 13:45:20
# include<iostream> using namespace std; int main(){ int a,b; char op; cin>>a>>op>>b; switch(op) { case '*':cout<<a*b;break; case '+':cout<<a+b;break; case '/':cout<<a/b;break; case '-':cout<<a-b;break; } return 0; }