Sinux1

PS6Q2

Mar 31st, 2016
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.13 KB | None | 0 0
  1. #include <cmath>
  2. float future_value(float current, float interest, float years)
  3. {
  4.     return current * (pow(interest + 1, years));
  5. }
Add Comment
Please, Sign In to add comment