Explore BrainMass

Explore BrainMass

    Building a UML Diagram

    Not what you're looking for? Search our solutions OR ask your own Custom question.

    This content was COPIED from BrainMass.com - View the original, and get the already-completed solution here!

    I am using NetBeans IDE 3.6 compiler. I need to files called Calculator.java and Driver.java so I can build a UML diagram.

    This is the example problem:
    Write a Java program without a graphical user interface that calculates and displays the mortgage payment amount given the amount of the mortgage, the term of the mortgage, and the interest rate of the mortgage. In this program, hard code the amount = $200,000, the term = 30 years, and the interest rate = 5.75%. Insert comments in the program to document the program.

    I do not understand strings, so if you explain the strings to the variables, it would be appreciated.

    I will build another program using yours as a template.

    © BrainMass Inc. brainmass.com November 24, 2022, 11:47 am ad1c9bdddf

    Solution Preview

    Please see attached files. I have made it very flexible so that you can change the formulae or console display.

    To calculate the monthly payment, the following equation is used:

    • A is the monthly payment
    • i ...

    Solution Summary

    The solution assists with building a UML diagram.