Program that reads a customers account number

Assignment Help JAVA Programming
Reference no: EM131914422

A bank in your town updates its customers' accounts at the end of each month. The bank offers two types of accounts: savings and checking. Every customer must maintain a minimum balance. If a customer's balance falls below the minimum balance, there is a service charge of $10.00 for savings accounts and $25.00 for checking accounts. If the balance at the end of the month is at least the minimum balance, the account receives interest as follows:

a. Savings accounts receive 4% interest.

b. Checking accounts with balances of up to $5000 more than the minimum balance receive 3% interest; otherwise, the interest is 5%.

Write a program that reads a customer's account number (int type), account type (char type; s or S for savings, c or C for checking), minimum balance that the account should maintain, and current balance.

The program should then output the account number, account type, current balance, and new balance or an appropriate error message.

Test your program by running it five times, using the following data: 46728 S 1000 2700 87324 C 1500 7689 79873 S 1000 800 89832 C 2000 3000 98322 C 1000 750

 

 

Reference no: EM131914422

Questions Cloud

Discuss public policy issues and assess its effectiveness : Select one of the following public policy issues and assess its effectiveness. What changes may be needed and why?
Discuss first amendment rights of broadcast media outlets : In commenting on the ongoing indecency debate, The New York Times argued: "The Supreme Court should end all government regulations on the content of broadcasts.
Compute taxable income and income taxes payable : Compute taxable income and income taxes payable for 2017. Prepare the income tax expense section of the income statement for 2017.
Under what conditions will you exercise the option : Under what conditions will you exercise the option. At what 2-year rate, one year from now, will you break even on this option?
Program that reads a customers account number : Write a program that reads a customer's account number (int type), account type (char type; s or S for savings, c or C for checking), minimum balance
Considering expansion of their product line to europe : Company that produces scooters and other wheeled non-motorized recreational equipment is considering an expansion of their product line to Europe.
What exactly is the role of federal insurance office : What exactly is the role of the Federal Insurance Office (F.I.O.) how was this created?
Prepare an incremental analysis : Mesa Verde manufactures unpainted furniture. Prepare an incremental analysis. Determine whether Mesa Verde should sell tables or process further tables.
Create a very simple java program : Create a Java program with file name of greetings.java. Your program will provide a short introduction about yourself: name, the city you live in, hobbies etc

Reviews

Write a Review

JAVA Programming Questions & Answers

  Recursive factorial program

Write a class Array that encapsulates an array and provides bounds-checked access. Create a recursive factorial program that prompts the user for an integer N and writes out a series of equations representing the calculation of N!.

  Hunt the wumpus game

Reprot on Hunt the Wumpus Game has Source Code listing, screen captures and UML design here and also, may include Javadoc source here.

  Create a gui interface

Create GUI Interface in java programing with these function: Sort by last name and print all employees info, Sort by job title and print all employees info, Sort by weekly salary and print all employees info, search by job title and print that emp..

  Plot pois on a graph

Write a JAVA program that would get the locations of all the POIs from the file and plot them on a map.

  Write a university grading system in java

University grading system maintains number of tables to store, retrieve and manipulate student marks. Write a JAVA program that would simulate a number of cars.

  Wolves and sheep: design a game

This project is designed a game in java. you choose whether you'd like to write a wolf or a sheep agent. Then, you are assigned to either a "sheep" or a "wolf" team.

  Build a graphical user interface for displaying the image

Build a graphical user interface for displaying the image groups (= cluster) in JMJRST. Design and implement using a Swing interface.

  Determine the day of the week for new year''s day

This assignment contains a java project. Project evaluates the day of the week for New Year's Day.

  Write a java windowed application

Write a Java windowed application to do online quiz on general knowledge and the application also displays the quiz result.

  Input pairs of natural numbers

Java program to input pairs of natural numbers.

  Create classes implement java interface

Interface that contains a generic type. Create two classes that implement this interface.

  Java class, array, link list , generic class

These 14 questions covers java class, Array, link list , generic class.

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