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

  Determine the rate of heat transfer from the stack

Flue gases from an incinerator are released to atmosphere using a stack that is 0.6 m in diameter and 10.0 m high. The outer surface of the stack is at 40°C.

  How is a field name qualified how is this used when using a

sql built-in functionsanswer the following questions1. what is the simplest sql retrieval?2. what is the purpose of the

  List all the simple cycles from the state diagram

List all the simple cycles from the state diagram. Identify the greedy cycles among the simple cycles. What is minimum average latency (MAL) of this pipeline?

  Evaluate rate at which melting occurs in terms of coductance

Let a piece of ice uniformly at 0°C be immersed in water at 27°C. Evaluate the rate at which melting occurs in terms of the conductance g.

  Complete the above timing diagram assuming ideal gates

For the circuit shown below: Complete the above timing diagram, assuming ideal gates.

  Questionassume that you are working with rick and carla

questionassume that you are working with rick and carla when new systems request comes in. swls vice president of

  Improving the speed of e-mails

Insurance, a multi million-dollar life insurance firm, has asked you to help troubleshoot the network at its corporate headquarters.

  How could term clustering be used to define clusters

Clusters of documents can be summarized by finding the top terms (words) for the documents in the cluster, e.g., by taking the most frequent k terms.

  How do you decide which connections to eliminate

How do you decide which connections to eliminate and which to keep? In other words what information do you need to know about each regional office to determine.

  Describe how you might implement the non - local gotos

Using knowledge about the implementation of structured exceptions, describe how you might implement the non - local gotos of Pascal.

  Discuss a mammoth concern and a small specialty business

What do you see as the major differences between running a mammoth concern and a small specialty business

  How can the managers use the process of technology

Look for opportunities for technological convergence or technological fusion? How can the managers use the process of technology section for their advantages?

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