30 likes | 75 Views
FOR MORE CLASSES VISIT<br>tutorialoutletdotcom <br><br>Question:<br>a. Write a program CompoundInterest.cpp that gets from its user a deposit amount (starting amount), an interest rate, and a term of deposit. The program then computes and displays how the principal will change as per term. The program should define and use a function compundAnnual() (a user define function) with three parameters: a starting amount, an interest rate represented as a percentage, and the number of years (called term of deposit). After acquiring these values, the program then computes how the principal will change. The program also has display method with no formal parameter that display how the principal will change.<br>
E N D
IT 240 Write a program CompoundInterest.cpp • FOR MORE CLASSES VISIT • tutorialoutletdotcom • Question: • a. Write a program CompoundInterest.cpp that gets from its user a deposit amount (starting amount), an interest rate, and a term of deposit. The program then computes and displays how the principal will change as per term. The program should define and use a function compundAnnual() (a user define function) with three parameters: a starting amount, an interest rate represented as a percentage, and the number of years (called term of deposit). After acquiring these values, the program then computes how the principal will change. The program also has display method with no formal parameter that display how the principal will change.