c_code/两个数的计算.cpp

13 lines
192 B
C++
Raw Permalink Normal View History

2024-07-16 18:19:51 +08:00
#include<iostream>
using namespace std;
int main() {
int x,y;
cin>>x;
cin>>y;
cout<<"x+y="<<x+y<<endl;
cout<<"x-y="<<x-y<<endl;
cout<<"x*y="<<x*y<<endl;
cout<<"x/y="<<x/y;
return 0;
}