Run ID:135816
提交时间:2025-11-08 14:52:55
#include<bits/stdc++.h> using namespace std; int main(){ int a,b; char c; cin>>a>>b>>c; switch(c){ case + :cout<<a+b;break; case - :cout<<a-b;break; case / :cout<<a/b;break; case * :cout<<a*b;break; } return 0; }