Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <algorithm>
- using namespace std;
- int main()
- {
- int wklad=100;// 10 zl co rok
- double dafne;
- int rok=2;
- double b=10;
- double kapital;
- double cleo=1000;
- double zarokek;
- double c=0.05;// pierwszy rok 5 kolejny wiecej
- for(int i=0; i<rok;i++)
- {
- dafne=wklad+(b*rok);
- }
- cout<<"Zarobki Dafne: "<<dafne;
- cout<<endl;
- cout<<"zarobki Cleo: "<<cleo;
- cout<<endl;
- cout<<rok;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement