Advertisement
Md_Touhid

URI - Problem 1007 - Difference

Apr 13th, 2020
292
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.23 KB | None | 0 0
  1. #include<iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     int a, b, c, d, diff;
  8.     cin >> a;
  9.     cin >> b;
  10.     cin >> c;
  11.     cin >> d;
  12.  
  13.     diff = a*b - c*d;
  14.  
  15.     cout << "DIFERENCA = " << diff << endl;
  16.  
  17.     return 0;
  18. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement