Prompt the user for the bank name and routing number

Assignment Help Programming Languages
Reference no: EM131321939

Business App Programming

Write the following Program:

Write a Java program to the form below. The program must work with decimal numbers and each button must work correctly. The result must be done in a popup window. The division must check if the number 2 is ‘0" if then send a message "You can't divide by zero" otherwise make the divivion:

Account class

Methods:

processDeposit ( ) - accepts a single double parameter containing the deposit amount. Updates the balance by adding the deposit amount to the balance.

processWithdrawal ( ) - accepts a single double parameter containing the withdrawal amount. Updates the balance by subtracting the withdrawal amount for the balance. Note: For now do not worry about negative balances.

calcInterest ( ) - Coded as a double method with an empty body.

ShowMessage() - Coded as a void method accepts an string (the message to be show) show a popup windows saying the message.

Attributes:

String Account Name
Integer Account ID
Double balance
Constructor

Prompt the user and accept input for the Account Name, Account ID and the initial balance.

The CheckingAcct class which is a derived class of the Account class.

Attributes:

Inherits all the attributes of the Account class.

The overDraftFee is double and is populated in the constructor of the CheckingAcct class.

Methods:

calcInterest () - If the account balance is greater than or equal to 3000.00 an interest rate of 2% or .02 is applied to increase the balance.

Constructor:

Prompt the user for the OverDraftFee.

The SavingsAcct class which is a derived class of the Account class.

Attributes:

Inherits all the attributes of the Account class.

There are no other attributes.

Methods:

calcInterest ( ) - If the account balance is greater than or equal to 5000.00 an interest rate of 4% or .04 is applied to increase the balance. If the balance is greater than or equal to 3000.00 an interest rate of 3% or .03 is applied to increase the balance. Otherwise use an interest rate of 2%. The new balance is returned to the calling program.

Constructor:

Inherited from the Account class. (no code needed)

Main:

Prompt the user for the bank name and routing number. Create at least two account objects (each of a different type). Process a deposit then withdraw then calculate the interest for each account, then run the ShowMessage() method passing the following string "Congratulation for using this program". Generate the following report:

Bank Name: XXXXXXXX Routing Number: XXXXXX
Account Name: XXXXXX Account ID: XXXXXXXXX Balance: 9999.99
Account Name: XXXXXX Account ID: XXXXXXXXX Balance: 9999.99

Reference no: EM131321939

Questions Cloud

Test the r for statistical significance : Compute Pearson's r between the life satisfaction variable and the family income variable in Table 1. Test the r for statistical significance, and draw conclusions about the meaning of the test.
Explain how the united states compares to other countries : Explain how the United States compares to other countries with regards to social mobility rates. Are there differences between the United States and other countries? Why? Which group in the society has the opportunity for upward social mobility ..
Draw graphical representation for the finite-state machine : Assign state numbers to the states of the finite-state machine you constructed for Exercise B.37 and write a set of logic equations for each of the outputs, including the next-state bits.
How you describe all pluses and minuses of weakening gravity : Can you name any other benefits or loss we get from tides? How can you describe all pluses and minuses of 'weakening gravity' on our Earth
Prompt the user for the bank name and routing number : CIS 355 Business App Programming- Prompt the user for the bank name and routing number. Create at least two account objects (each of a different type). Process a deposit then withdraw then calculate the interest for each account.
What are the x- and y-components of the net force : A remote controlled car has a momentum given by p = [(0.43 kg*m/s²) t²- (0.2 kg*m/s²) t ] î + (0.87 kg*m/s²) t j. What are the x- and y-components of the net force on the car.
Construct a 3-bit counter using three d flip-flops : The outputs should be the value of the counter. When the counter has value 7 and is incremented, it should wrap around and become 0.
Describe your familys history of social mobility : Describe your family's history of social mobility through at least three generations. Types of social mobility to discuss include intragenerational mobility, intergenerational mobility, and status attainment.Explain the role of race and gender in ..
Horizontal does the bullet richochetaway : Just as the coin reaches its highest point, the bullet hits it and glances off, giving the coin an exactly vertical velocity of 120 m/s. At what angle measured with respect to the horizontal does the bullet richochetaway from this collision?

Reviews

Write a Review

Programming Languages Questions & Answers

  Recursive double function

each of these returns the list consisting of each element of list y in a list has been replaced by two copies of the elements and

  Explain a program for a military tank control system

required to design, implement and document a program for a Military Tank Control System to execute on a Windows based personal computer

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Write a mips assembly program

Write a MIPS assembly program that will make use of the function count above as follows: Let's assume you are asked to code a car-finding system for a local parking lot

  Code the next version of the cp1200 catering calculator

You are to plan and then code the next version of the CP1200 catering calculator, as described in the following information and sample output

  Make simple html document add a comment

Make simple html document Add a comment Add a hyperlink to www.google.com Create simple HTML headings h1 to h6

  Define a command syntax and small-step semantics

Define a command syntax and small-step semantics for if-then (without the else) and extend Agat's type system with a rule for if-then

  Write at least two test cases to check for errors

Write a program that accepts a given number an input from the user and prints prime numbers up to that number.

  Write program two functions to solve problem of university

Write the program with at least two functions to solve the following problem. The members of the board of a small university are considering voting for a pay increase for their 10 faculty members.

  Discuss few web service tools

We have discussed a few web service Following are the Unit testing tools. In your opinion, are they really useful?

  Implement the evaluator for the language

Implement the evaluator for the language L discussed in class. You should review the notes from that class. There is also a complete description of the language in this file.

  Find the maximum and minimum of a list of numbers

Write a prolog program to find the maximum and minimum of a list of numbers.

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