1 / 3

IT 240 Write a program CompoundInterest

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>

Baggins
Download Presentation

IT 240 Write a program CompoundInterest

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. EDUCATIONAL COURSESTUTORIALOUTLET.COM

  2. 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.

  3. EDUCATIONAL COURSES TUTORIALOUTLET.COM

More Related