Advertisement
Josif_tepe

Untitled

Mar 12th, 2024
917
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.27 KB | None | 0 0
  1. #include <iostream>
  2. using namespace std;
  3.  
  4. int main() {
  5.     float cena;
  6.     cin >> cena;
  7.    
  8.     float kolicina;
  9.     cin >> kolicina;
  10.     float iznos;
  11.     cin >> iznos;
  12.    
  13.     float kusur = iznos - (kolicina * cena);
  14.     cout << kusur << endl;
  15.     return 0;
  16. }
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement