This preview shows page 1. Sign up to view the full content.
Unformatted text preview: n payment periods Assignment: You don't need to write a complete program. You may handwrite or type. 1. Now write a function that computes how much an investment is worth based on the three inputs to the formula and returns the value of the investment. 2. Then write the function call you'd add to the main program to call this function. Where would this call go? 3. Did you use passing by reference or passing by value for each of the parameters you used in #1? Explain your choices....
View Full Document
- Fall '10