Question

1. Class name: FinancialApplication a. Your program will compute the interest on the next monthly payment....

1. Class name: FinancialApplication a. Your program will compute the interest on the next monthly payment. To find out the formula to compute the interest, you need to think how you will use the balance and annual interest rate. You have to be very carefully considering how you will find out the monthly interest rate. As you know rate is percentage. For example, if you enter yearly rate as 5%, it means 0.05. And remember this is a yearly rate not a monthly rate. b. Your program will ask the user to enter the balance and the annual interest rate. c. Your program will read the balance and the annual percentage interest rate and display the interest for the next month.

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Thanks for posting the question.

To calculate the monthly accrued interest on a loan or investment, you first need to determine the monthly interest rate by dividing the annual interest rate by 12. Next, divide this amount by 100 to convert from a percentage to a decimal.

Here is the program

__________________________________________________________________________________________________

public class FinancialApplication {


    public static void main(String[] args) {
    Scanner scanner  = new Scanner(System.in);
        System.out.println("========================================");
        System.out.println("WELCOME TO FINANCIAL APPLICATION PROGRAM");
        System.out.println("========================================");

        System.out.print("Enter Balance($): ");
        double amount = scanner.nextDouble();

        System.out.print("Enter Annual Interest(%): ");
        double interestRate = scanner.nextDouble();

        double interestPayable = (amount*interestRate)/1200;

        System.out.println("Interest Payable for next month($): "+String.format("%.2f",interestPayable));
    }
}

______________________________________________x_________________________________________________

thank you !

Add a comment
Know the answer?
Add Answer to:
1. Class name: FinancialApplication a. Your program will compute the interest on the next monthly payment....
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • using Matlab program: Create a loan payment program that can be used for any loan amount...

    using Matlab program: Create a loan payment program that can be used for any loan amount such as a home or car loan. The program should ask the user for the input values below, compute the monthly payment, then compute the monthly balance. Display the balance in a table Month             Balance 1                      $ ##.## 2                      $ ##.## 3                      $ ##.##       . . . etc Use the formula PMT=P*(r(1+r)^n)/((1+r)^n-1) PMT = the monthly payment. P = the principal r = the interest rate per month, which...

  • Assume the user always enters the correct values for a. Next, your program should compute and...

    Assume the user always enters the correct values for a. Next, your program should compute and display the value of the following expression. (? ^5?10^−2 )/(6.28 ? 10^−8 ) Sample output: Enter a positive integer: 4 (a^5 x 10^(-2)) / (6.28 x 10^(-8)) = 163057324.8407643 Your program must meet the following criteria to receive full marks: • Your program should ask the user for input. • Your program should display the output in the given format. use Python

  • solve this JAVA problem in NETBEANS Problem #12 in page 400 of your text (6th edition): SavingsAccount Class. Design a SavingsAccount class that stores a savings account's annual interest rate...

    solve this JAVA problem in NETBEANS Problem #12 in page 400 of your text (6th edition): SavingsAccount Class. Design a SavingsAccount class that stores a savings account's annual interest rate and balance. The class constructor should accept the amount of the savings account's starting balance. The class should also have methods for subtracting the amount of a withdrawal, adding the amount of a deposit, and adding the amount of monthly twelve. To add the monthly interest rate to the balance,...

  • Write C++ program for a compound interest calculator. Ask the user for dep = initial deposit...

    Write C++ program for a compound interest calculator. Ask the user for dep = initial deposit r = interest rate expressed as a fraction (example: .06) t = years If we assume that the money is compounded on a monthly basis, the formula is: double final = dep * pow( 1 + r/12.0 , 12.0*t ); Then display the final amount. To earn full credit, comment your code well. Supposedly, with a deposit of 1000, and 5% interest (0.05), for...

  • Your program will ask the user to enter the amount of money they want to borrow,...

    Your program will ask the user to enter the amount of money they want to borrow, the interest rate, and the monthly payment amount. Your program will then determine how many months it will take to pay off that loan, what the final payment amount will be, and how much interest was paid over that time. If the monthly payment amount isn't high enough to pay off more than one month's interest, your program should notify the user what the...

  • 14.Compound Interest hank account pays compound interest, it pays interest not only on the principal amount...

    14.Compound Interest hank account pays compound interest, it pays interest not only on the principal amount that was deposited into the account, but also on the interest that has accumulated over time. Suppose you want to deposit some money into a savings account, and let the account earn compound interest for a certain number of years. The formula for calculating the balance of the account afer a specified namber of years is The terms in the formula are A is...

  • This C++ Program should be written in visual studio 2017 You are to write a program...

    This C++ Program should be written in visual studio 2017 You are to write a program that can do two things: it will help users see how long it will take to achieve a certain investment goal given an annual investment amount and an annual rate of return; also, it will help them see how long it will take to pay off a loan given a principal amount, an annual payment amount and an annual interest rate. When the user...

  • Investment Recursion An investment company guarantees a 2% monthly compounded return on your inve...

    In Visual Studio Visual studio C++ Investment Recursion An investment company guarantees a 2% monthly compounded return on your investment. You want to see how long it takes to reach a total of S500.000 dollars in investment plus return. Write a program that allows the user to enter a continuous monthly investment (Example $200 every month) or ($600 every The program should call a recursive method that returns and displays the total months needed to reach the $500,000 dollar goal....

  • Analyze a family's spending habits by creating a program that performs arithmetic calculations. The program should...

    Analyze a family's spending habits by creating a program that performs arithmetic calculations. The program should ask the user to enter information for the following questions. How much does the family spend on groceries per month? How much does the family spend on dining out per month? How much does the family spend on entertainment per month? How much does the family spend on rent/mortgage per month? How much does the family spend on utilities per month? How many family...

  • Write a program in Python that computes the interest accrued on an account. You can modify...

    Write a program in Python that computes the interest accrued on an account. You can modify the “futval.py” program given in Chapter 2 to accomplish it. Your program should use a counted loop rather than a formula. It should prompt the user to enter the principal amount, the yearly interest rate as a decimal number, the number of compounding periods in a year, and the duration. It should display the principal value at the end of the duration. To compute...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT