MasterGun

Untitled

May 16th, 2020
49
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. void calculate(double money,double price)
  2. {
  3. double res = 0;
  4. for(int i=0; i == 10; i++)
  5. {
  6. res = price + (price*0.03);
  7. }
  8. cout << res << endl;
  9. }
RAW Paste Data