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

  Write a program that determines the average number of array

Write a program that determines the average number of array locations that were examined in successful searches to locate an integer in an array of 100 integer.

  What does a group member require to be able to remove a file

What does a group member require to be able to remove a file? If a file's permissions are 000, can the superuser still read and write it?

  Write a loop that removes all strings

Write a loop that removes all strings with length less than four from a linked list of strings called words.

  Give a list of n distinct positive integers

Write for the following problem a recursive algorithm whose worst case time complexity is not worse than O(n ln n).

  Explain technologies you could use to present information

Explain two technologies you could use to present the information contained in this presentation in a more effective manner to this audience.

  Review of article where physical security failed

Review of Article Where Physical Security Failed. Propose a possible change in that organization's physical security that could have prevented.

  Write down a class named testscores

Write down a class named TestScores. The class constructor should accept an array of test scores as its argument. The class should have a process that returns the average of the test scores.

  Simulate the transmission of information by manually typing

Create a menu allows the administrator to simulate the transmission of information by manually typing in the login or log off data.

  Write a test program that prompts the user to enter

Write a test program that prompts the user to enter the investment amount and interest rate and prints a table that displays future value.

  Wordpad application

Whenever you select the print from WordPad application. Which printer among the three starts to print? Why? Explain is it possible to state which printer to print from the WordPad or any other application? Explain why?

  Write review for the article - different types of firewalls

Write review for the article with 2 APA format references - The five different types of firewalls.

  What is the difference between number zero and value false

What is the difference between the number zero, the null reference, the value false, and the empty string?

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