Program that calculates and displays the amount of money

Assignment Help Software Engineering
Reference no: EM13164616

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

Reference no: EM13164616

Questions Cloud

Class named person with fields for holding a person''s name : Design a class named Person with fields for holding a person's name, address, and telephone number. Write one or more constructors and the appropriate mutator and accessor methods for the class's fields.
Personalize the time zone application of section 24.3 : Personalize the time zone application of Section 24.3. Prompt the user to log in and specify a city to be stored in a profile. The next time the user logs in, the time of their favorite city is displayed automatically.
Web application that allows user to specify six lottery nums : Write a web application that allows a user to specify six lottery numbers. Generate your own combination on the server, and then print out both combinations together with a count of matches.
Write a jsf application that reports the values : Write a JSF application that reports the values of the following system properties of the web server
Program that calculates and displays the amount of money : 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.
Program which calculates the average and sum of the numbers : write down a program which calculates the average and sum of the numbers enter by a user.Using a While Loop
We enhance a machine making all floating-point instructions : Suppose we enhance a machine making all floating-point instructions run five times faster. If the execution time of some benchmark before the floating-point enhancement is 10 seconds, what will the speedup be if half of the 10 seconds is spent exe..
Write down a program which will calculate and displays min : write down a program which will calculate and displays the min temperature and the maximum temperature for seven days of a week.
Elements corresponding to the inorder sequence : Suppose that you are given two sequences of elements corresponding to the inorder sequence and the preorder sequence. Prove that it is possible to reconstruct a unique binary tree .

Reviews

Write a Review

Software Engineering Questions & Answers

  Analyzing project management

This solution utilizes the example of a specific project to install a complex, one hundred computer network for a corporation

  Create a communication and sequence diagram

Create a sequence diagram that shows an Owner generating a report regarding the maintenance of their current properties - Create a communication diagram.

  Identify several processes and concepts for managing project

Identify several processes and concepts for managing projects. Thinking about these processes and concepts, answer the following questions: Which process or concept do you feel would benefit your current organization the most? Explain.

  Draw erd to show attributes of student

Draw and ERD for this situation. What attribute or attributes did you designate as the identifier for the STUDENT entity? Why?

  Creating a modularized body mass index program

Create a modularized Body Mass Index (BMI) Program which will compute the BMI of a team player.

  Design an eer diagram for ciuntry club

Once a person becomes a member of any type, information about them as guests is no longer important to retain. Design an EER diagram for this situation.

  Draw entity-relationship diagram for heg

Instructors are capable of teaching many different courses. Draw an entity-relationship diagram for HEG (in 3NF).

  Creating coding for excel

Create a code that would sum five cells and then round to either .00, .25, .50, or .75 depending upon what range the sum of the cells falls into.

  Improving job performance

Learning is characterized as any relatively permanent change in behavior that happens as a result of experience. Also means that it also happens outside of schools, at workplaces.

  Prepare a data flow diagram for computing the volume

Prepare a data flow diagram for computing the volume and surface area of a cylinder. Inputs are height and radius of cylinder.

  Compute student grades via linux shell script

Construct a shell script to run on Knoppix or Linux, that will compute and display the letter grades for the students based on the average of four test scores.

  Sketch the use case diagram for stillwater antiques

Sketch the use case diagram for the following circumstances Stillwater Antiques purchases and sells one-of-a-kind antiques of all kinds.

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd