Calculate and display the bank interest for n bank account

Assignment Help Finance Basics
Reference no: EM131606286

Question: Write a java console application that calculates and displays the bank interest for N bank accounts. N should be declared as a constant and it should be equal to the largest digit of your student ID number (e.g. if your ID number is S334261 then N should be equal to 6 and you can declare it as final int N=6). The interest is based on total amount in account as shown below in Table 1.

Table. Amount and Interest

   Amount            Interest

$0 - $1000             0% (no interest)

$1001 - $5000      2.5%

$5001- $10000        5%

Over $10000           8% (high interest)

The application should ask the user to enter the amount for each account (total N accounts) and calculate the interest. The application should display the interest for each bank account as shown in the example below. At the end of the Nth account's interest, the details such as total interest, lowest interest, highest interest, average interest and number of accounts with no interest should be displayed. The total interest is calculated by adding the interest for all accounts. The lowest interest is calculated by finding the lowest value from interests for N accounts. The highest interest is calculated by finding the highest value from interests for N accounts. The average interest is calculated by dividing the total interest with the total number of accounts. The number of accounts with no interest is calculated by finding all accounts with zero interest.

Reference no: EM131606286

Questions Cloud

List the names of all customers that have a credit limit : Answer of this questions using the Premiere Products data shown in Figure. No computer work is required. List the names of all customers.
What is her portfolios beta : An individual has $125,000 invested in a stock with a beta of 2; $50,000 invested. what is her portfolio’s beta?
Affect net interest income-rate and volume : Discuss how changes in each of the following affect net interest income: a. Rate b. Volume
What was the return of the market in that period of time : What was the return of the market in that period of time?
Calculate and display the bank interest for n bank account : Write a java console application that calculates and displays the bank interest for N bank accounts. N should be declared as a constant and it should be equal.
What are the goals of the firm and financial management : What are the goals of the firm and financial management? What do you call the specific mixture of long-term debt and equity that a firm chooses to use?
What is the difference between liabilities and equity : What is the difference between liabilities and equity?
Advantages of selling a combination of stocks and bonds : What are the advantages and disadvantages of selling a combination of stocks and bonds? Be sure to support your answers.
What is the yield on three-year treasury securities : What is the yield on 2-year Treasury securities? What is the yield on 3-year Treasury securities?

Reviews

Write a Review

Finance Basics Questions & Answers

  Estimating the current value

Suppose you are evaluating three different $1,000 maturity corporate bonds to buy. The ABC Company bond has a 7% yearly coupon with 7 years remaining while the XYZ Company bond has a 10% annual coupon with 5 years remaining.

  Calculate innovative products net cash flows

The balance sheet of Cranium Gaming reports total assets of $400,000 and $700,000 at the beginning and end of the year, respectively.

  What are main elements in calculating the cost of capital

what are main elements in calculating the cost of capital? how does an increase in debt affect it? how do you identify

  Pap provides for certain supplementary payments

In addition to the policy limits and a legal defense, the PAP provides for certain supplementary payments. Briefly describe the supplementary payments that can be paid under the liability section of the PAP.

  What is the dollar amount change in the bank profits

If all interest rates decrease by 50 basis points, what is the dollar amount change in the bank's profits?

  Who are the players in the government sector

Who are the players in the government sector? What is the distinction between a government-owned corporation and a government-sponsored enterprise?

  Decision between buying a new car and buying a used car

Discuss the decision between buying a new car and buying a used car. (Don't bring leasing into the equation.) When should someone prepay their mortgage? What's bad about biweekly mortgages?

  What reasons can you give for the bank’s low return

a. What reasons can you give for the bank’s low return on common equity? b. What impact do you think this performance by the bank is having on the value of its debt and equity securities?

  Capitals benefit sharing proportion

B and C brought as much money as would acquire their capitals benefit sharing proportion and the firm would have trade in for spendable dough hand Rs. 3,000.

  Compare and contrast the different types of exchanges

Compare and contrast the different types of exchanges. In your opinion why would a trader choose one over the other? Which would you choose? Why?

  Role of financial manager in maximizing shareholder value

Discuss the role of the financial manager in maximizing shareholder value within today's financial markets and what would be the manager's viewpoint vs. an employee or stockholder viewpoint regarding maximizing share value?

  Understanding the differences between virtual and

understanding the differences between virtual and face-to-face presentations is certainly becoming more important as

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd