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

  Different entities or objects logical processes

You are working as student assistance for an engineering firm and are paid by the hour. Every two weeks, you turn in a time sheet to your supervisor, and three workdays later, your paycheck is direct deposited into your checking account.

  Draw flow chart to compute arithmetic operation

While drawing flow chart, you require to add little more functionality as follows like during any computations of any arithmetic operation, if result exceeds 2000 or comes equal to 100, user must input the data again

  Analyzing project management

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

  List diffent entities or objects and logical processes

List the diffent entities or objects,logical processes,data flows, and dfata stores that are involoved. starting from the time you submitted your time sheet.

  Question about consecutive bytes

Determine the address where the longest consecutively numbered string of bytes starts. Consecutive bytes are defined as those that differ through the number 01.

  Create a computer program

Create a class named Consumer Record that holds a consumer number, name, and address. Include technique to set the values for each data field and output the values for each data field.

  Finding output of the code sequence

Construct the pseudocode for a program that finds the sums of the numbers input that are greater than or equal to 10 and the numbers input that are less than ten.

  Produce set of crc cards-uml diagram-javadoc comments

Produce a set of CRC cards, a UML diagram, and a set of javadoc comments (detailed JavaDoc only for each method created, no coding required).

  Draw erd to track work orders and tasks of work orders

Draw an ERD. The database should track work orders and tasks of work orders. The following detailed information requirements should be represented by the ERD.

  Draw flowchart to let a user play rounds of head

Draw a flowchart to let a user play 10rounds of head or tail guessing game. Display how many times the player has guessed the outcomes correctly.

  Draw erd for database that track baluster design

Draw an ERD for a database that should track baluster designs, balusters sold, and customer orders for a company that sells various wood balusters.

  Modularity can have negative as well as positive effect

Modularity can have a negative as well as a positive effect. A program that is overmodularized performs its operations in very small modules, so a reader has trouble acquiring an overall perspective

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