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

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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