Question
Given the following formula: Monthly Pay= [rate + rate / ([1+rate] ^(months) -1) X principle Where rate of 6% means 6/1200 and Months means number
Given the following formula:
Monthly Pay= [rate + rate / ([1+rate] ^(months) -1) X principle
Where rate of 6% means 6/1200 and
Months means number of years x 12
Possible data to test:
Principle 12200
Rate 7
Term in years 5
Monthly payment is 241.57
Total Payment is 14494.48
Interest Expense is 2294.48
Implement class Loan with the following members:
- Principle
- Rate
- Number of years
- Monthly payment
- Interest payed
The loan constructor should take principle, rate, and year.
Now, make GUI using JavaFX with proper Text Fields and a Button.
When your program run user will see the GUI, and enter data,
Using given data, create object of Load.
User press the button, should see the monthly payment and total interest. Throw an exception if data is mismatch.
Step 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