Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void calculate(double money,double price)
- {
- double res = 0;
- for(int i=0; i == 10; i++)
- {
- res = price + (price*0.03);
- }
- cout << res << endl;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement