SHARE
TWEET

Untitled

a guest Nov 19th, 2019 100 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <iostream>
  2. #include <math.h>
  3. using namespace std;
  4.  
  5. double stawka, kasa;
  6. int czas;
  7. int main () {
  8.     cout << "Podaj stawke za godzine ";
  9.     cin >> stawka, kasa;
  10.     cout << "Podaj ilosc przepracowanych godzin ";
  11.     cin >> czas;    
  12.     kasa=(stawka+kasa);
  13.     for (int stawka; stawka<=czas; stawka++)
  14.     {
  15.         cout << stawka <<" godzin "<< (kasa*stawka) <<" zl "<< endl;   
  16.     }
  17.     cout << "Twoja wyplata wynosi " << stawka*czas <<endl;
  18.         return 0;
  19. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top