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

  Write a haskell program to calculates a balanced partition

Write a program in Haskell which calculates a balanced partition of N items where each item has a value between 0 and K such that the difference b/w the sum of the values of first partition,

  Create an application to run in the amazon ec2 service

In this project you will create an application to run in the Amazon EC2 service and you will also create a client that can run on local machine and access your application.

  Explain the process to develop a web page locally

Explain the process to develop a Web page locally

  Write functions

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

  Programming assignment

If the user wants to read the input from a file, then the output will also go into a different file . If the user wants to read the input interactively, then the output will go to the screen .

  Write a prolog program using swi proglog

Write a Prolog program using swi proglog

  Create a custom application using eclipse

Create a custom Application Using Eclipse Android Development

  Create a application using the mvc architecture

create a application using the MVC architecture. No scripting elements are allowed in JSP pages.

  Develops bespoke solutions for the rubber industry

Develops bespoke solutions for the rubber industry

  Design a program that models the worms behavior

Design a program that models the worm's behavior.

  Writing a class

Build a class for a type called Fraction

  Design a program that assigns seats on an airplane

Write a program that allows an instructor to keep a grade book and also design and implement a program that assigns seats on an airplane.

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