Advertisement
Josif_tepe

Untitled

May 21st, 2021
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.25 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     int paketce_1, paketce_2;
  8.     cin >> paketce_1 >> paketce_2;
  9.     int zbir = 0;
  10.     zbir = paketce_1 + paketce_2;
  11.     zbir /= 2;
  12.     zbir *= 7;
  13.     cout << zbir << endl;
  14.     return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement