Advertisement
Guest User

Untitled

a guest
Oct 20th, 2019
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.26 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3. int main (){
  4. int x,y;
  5. cout<< "nhap x =";
  6. cin>>x ;
  7. cout <<"nhap y =";
  8. cin>>y ;
  9. cout << "x + y ="<< x+y<<endl ;
  10. cout << "x - y ="<< x-y<<endl;
  11. cout << " x * y ="<< x*y<<endl;
  12. cout << "x/y =" << x/y<<endl;
  13. return(0);
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement