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

  Create a complete limited entry decision table

Create a complete limited entry decision table

  Write balanced transportation problem to minimize sum

With customer 1 penalty cost of 490 is incurred; with customer 2, $80; and with customer 3, $110. Write balanced transportation problem to minimize the sum of shortage and shipping cost.

  Viruses and malicious software

Viruses and Malicious Software  Web Strategies and Protocols (browsers, cryptographic posture, and server and protocol securities)

  Create graph which shows congestion window size

Design another scenario as duplicate of Drop_Fast scenario. Write the new scenario Drop_Fast_Buffer. In new scenario, edit attributes of Client_East node and assign 65535 to its Receiver Buffer.

  Draw context diagram level zero and level one

Draw Context diagram, level0 and level1 (if need) for the following: The user submit her/his name to the system, the system will tell the user if he is a boy or a girl or don't know by looking up his name in database of names saved in the system.

  Explain the action of the function

Explain the action of the function. Determine the function in the library that performs a similar calculation?

  Debugging facilities for art of programming

The BlueJ development environment offers simple but sufficient debugging facilities for those new to and learning the art of programming.

  Uml class diagram for client and invoice classes

Design UML class diagram for client and invoice classes, design the code in Java for your client and invoice classes, and draw the program that consultant will use.

  Discuss the limitations of software testing

Discuss the limitations of software testing. How do we say that complete testing is impossible?  What is Software Quality Assurance? What are the objective and goals of SQA?

  Creating a grade average program

Create a grade average program that will produce the numerical grade average of test scores input by a user.

  Deisgn risk assessment policy that identifies risks

Deisgn Risk Assessment Policy, that identifies risks associated with an organization's infrastructure. A risk assessment template may be downloaded from Sans: http://www.sans.org/resources/policies/#template

  Creating a flowchart and pseudocode

You have a document with the grades of students from Starting Programming, along with the students data. Your part of the program has to loop through records,

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