Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <windows.h>
- using namespace std;
- float kwota = 0.0;
- float a = 0.0;
- int dni, x, y, z, c, kwota2 ;
- int main()
- {
- cout << "Ile dni chcesz betować:";
- cin >> dni;
- x = 0.625 * dni;
- cout << "Od jakiej kwoty:?";
- cin >> kwota;
- for (int c=1; x>=c; c++)
- {
- a += 1.1*kwota;
- cout << a <<endl;
- }
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement