Program that calculates and displays the amount of money
Course:- Software Engineering
Reference No.:- EM13164616

Assignment Help
Expertsmind Rated 4.9 / 5 based on 47215 reviews.
Review Site
Assignment Help >> Software Engineering

Create the logic for a program that calculates and displays the amount of money you would have if you invested $5000 at 2 percent simple interest for one year. Create a separate method to do the calculation and return the result to be displayed.

I really need the C++ translation, I know that the flowchart and pseudocode can be found elsewhere.

// Pseudocode PLD Chapter 9 #3 pg. 400

// Start

//     Declarations

//       num amount

//       num newAmount

//       num interestRate

//     output "Please enter the dollar amount.   "

//     input amount

//     output "Please enter the interest rate(e.g., nine percet should be entered as 9.0).   "

//     input interestRate

//     newAmount = FutureValue(amount,interestRate)

//     output "The new dollar amount is ", newAmount

// Stop




// num FutureValue(num initialAmount, num interestRate)

//     Declarations

//       num finalAmount

//     finalAmount = (1 + interestRate/100) * initialAmount

// return finalAmount

Put your comment

Ask Question & Get Answers from Experts
Browse some more (Software Engineering) Materials
Identify the Virus Software running on your computer. Is your Virus Software current and up-to-date. Have you downloaded the latest virus definitions? If not, do so and note
Prepare an REA diagram describing Kim's Flower Inc.'s database. You may repeat a box for an individual entity if necessary to make your drawing neat. Kim would like for you
Review the Personal Trainer fact-finding summary and draw an ERD with cardinality notation. Assume that system entities include members, activities and services, and fitne
OES LTD is a manufacturer and supplier of office equipment for business. Originally, a family owned business, is now employing over 100 employees with three owners: Joan Smi
A restaurant is not doing well. It is doing poorly as customer patronage is low. Use Ishikawa diagram to investigate the causes of the problem.
Your first assignment is to work as part of the team of three persons to create high-level E-R diagram for hospital. You conduct interviews with number of hospital administra
If the image and record do not match (for instance, a three-leg ticket sold but only two legs used), the ticket number is included in the audit data. If the image and record
Mr. Oldie wishes to share his wisdom too, but on a different topic: "These OO-guys looked at hardware assembly and car assembly mechanisms and dreamed that they can do it in s