Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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:

  1. Principle
  2. Rate
  3. Number of years
  4. Monthly payment
  5. 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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Real Estate Finance and Investments

Authors: William Brueggeman, Jeffrey Fisher

14th edition

73377333, 73377339, 978-0073377339

More Books

Students also viewed these Programming questions