Display the amount of the payment

Assignment Help Computer Engineering
Reference no: EM132201015

Question :

Write a Java program that reads the amount of a mortgage payment (as a double) and the amount still owed - the outstanding balance - on the mortgage (also as a double) and then displays the amount of the payment that goes towards interest and the amount that goes towards principal (e.g. the amount that goes towards reducing the debt).

Assume that the annual interest rate is 4% (which is the current rate). Be sure to use a named constant for this interest rate.

Note that mortgage payments are made monthly, so be sure to divide the annual rate by 12 when calculating the amount of the mortgage payment that goes towards interest.

Here is a sample transaction with the user:

Please enter your mortgage payment: $2500.00

Please enter ourstanding balance or mortgage: $450000.00

Of your $2,500.00 mortgage payment:

$1,500.00 goes to interest

$1,000.00 goes to principal

formula: 450000 * 0.04 / 12 = 1500

The response must be typed, single spaced, must be in times new roman font (size 12) and must follow the APA format.

Reference no: EM132201015

Questions Cloud

Examine an adverse selection problem wells fargo : Examine an adverse selection problem Wells Fargo is facing and recommend how it should minimize its negative impact on transactions.
Advice for improving risk management : Evaluate Wells Fargo recent (within the last year) actions dealing with risk and uncertainty, and advice for improving risk management.
Total number of imported widgets : 1. If the government places a $3 tariff on all foreign produced widgets, the total domestic production will be .
What is the effective monthly interest rate : Maya has purchased her first home for $150,000. She places 20% as a down payment and negotiates with the bank a 5-year term for her mortgage with 5.5% APR.
Display the amount of the payment : Displays the amount of the payment that goes towards interest and the amount that goes towards principal.
Marxian analysis of capitalism supports this criticism : Explain how the basic Marxian analysis of capitalism supports this criticism.
When firms decide to pay efficiency wages : When firms decide to pay efficiency wages, the number of workers who want a job at this higher wage will (increase/ decrease)
Conduct manual simulation to compare average daily profit : The newsstand buys newspapers in 20-paper bundles at a cost of $4 per bundle and charges its customers $0.50 per paper. Any leftover newspapers per day can.
Write a java program using arraylist to allow the professor : Write a Java program using ArrayList to allow the professor to enter student's names, and four test scores for each student.

Reviews

Write a Review

 

Computer Engineering Questions & Answers

  Use the library and the internet to collect information

write 400-600 words that respond to the following questions with your thoughts ideas and comments. be substantive and

  Create the logic for a dice game

Create the logic for a dice game. The application randomly "throws" five dice for the computer and five dice for the player.

  Write a short test program that calls the procedure

Write a short test program that calls the procedure and displays the product (We will assume that the product is never larger than 32 bits).

  Define risk and costs of compromised data integrity breaches

In 250 words or more, discuss the risk and costs of compromised data integrity breaches. Focus on integrity not confidentiality.

  Towers of hanoi problem

If a program solves the towers of Hanoi problem for 30 disks in 1 minute, how long does it take to solve the problem with 24 disks.

  What occurs in an infinite loop

What occurs in an infinite loop? Create your own Repeat-until repetition arrangement.

  How to validate a new forensics software package

Establish a procedure for your organization on how to validate a new forensics software package. Write 3 to 4 pages outlining the procedure you plan.

  You have been asked to be the project manager for the

you have been asked to be the project manager for the development of an information technology it project. the system

  What are some of negative implication of participatory media

CMST 301- What are some of the negative implications of participatory media? Provide specific examples and cases. How has the increase in digital media resulted in an increase in ‘multi-tasking'?

  Draw a schema of speech recognition to improve pronunciation

Draw a schema of speech recognition to improve pronunciation. It will include human being, microphone, computer, text to read and transcript.

  Modify a single program using control structures

For your strength of materials course you will write down a single program using control structures(including nested loops)and file I/O to explore the deflection of the cantilever beam with a point load at the free end.

  Create a stack class based on mylinkedlist class

Create a Stack class based on MyLinkedList class. A method to generate a number of elements between two given values and save them in a stack.

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