Answered step by step
Verified Expert Solution
Question
1 Approved Answer
This is a homework fo?r JAVA programming! Write a program that reads in the amount of a monthly mortgage payment and the outstanding balance (i.e.,
This is a homework fo?r JAVA programming!
Write a program that reads in the amount of a monthly mortgage payment and the outstanding balance (i.e., the amount still owed) and then outputs the amount of the payment that goes to interest and the amount that goes to principal (i.e.: the amount that goes to reducing the debt). Assume that the annual interest payment is 7.49 percent. Use a defined constant for the interest rate. Note that payments are made monthly, so the interest is only one-twelfth of the annual interest rate of 7.49 percent, Determine the interest amount, the Principal amount and the New Balance after the monthly payment has been made. Print Screen your results using the following 3 test cases and one of your own. Note: If you are using a Number Format object to format dollar amounts, then negative numbers will show up with parenthesis around them instead of a negative sign in front. This is fineStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started