Advertisement
Josif_tepe

Untitled

May 28th, 2021
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.31 KB | None | 0 0
  1. #include <iostream>
  2.  
  3. using namespace std;
  4.  
  5. int main()
  6. {
  7.     int pesacenje, trcanje;
  8.     cin >> pesacenje >> trcanje;
  9.     int cekori_1, cekori_2;
  10.     cekori_1 = pesacenje * 60 * 2;
  11.     cekori_2 = trcanje * 60 * 4;
  12.     int razlika = 10000 - (cekori_1 + cekori_2);
  13.     cout << razlika << endl;
  14.     return 0;
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement