Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Computer Engineering Expert

Question

Write down an Account Class which represents a Saint Anselm College bank account with basic service such as deposits, interests and withdrawal. Each account will have a name, account number (randomly generated 4 digit number) and a balance. The program will have an interest rate of 1 percent. A person can open an account with some first deposit or no deposit.

Also, write down a driver program to test your Account Class. In driver program, make an account for yourself and two of your friends at Saint Anselm College. Store up each account in an array. The driver program has an interactive menu.

Interactive menu has six choices:

1. show all accounts

2. Create a deposit of $100 in your account

3. Create a Withdrawal of 20000 from your account (When you make a withdrawal check that the account has money. If there is no money print "Sorry your balance is less "+balance.)

4. Add Interest to your friend's account

5. Exit (use the command System.exit(0); )

 

 

Computer Engineering, Engineering

  • Category:- Computer Engineering
  • Reference No.:- M9718152

Have any Question?


Related Questions in Computer Engineering

Discussion question a sketch the storyboard for the simple

Discussion Question : a) Sketch the storyboard for the simple student information application. Recall that there are 6 files (scripts): connectcode.php, createtables.php, enterstudent.html, enterstudent.php, showstudents ...

Question summarize the human-computer interface hci of

Question : Summarize the human-computer interface (HCI) of Microsft Word 2013 and Microsoft Visio 2013. Explain the importance of HCI and usability of the software. Be sure to note any commonalities between the applicati ...

While you were shopping at best buy you overhear a customer

While you were shopping at Best Buy, you overhear a customer asking one of the sales staff in the store about what is the fastest computer in the store that he can buy? The staff replies, "you're looking at our AMD machi ...

Assignmentnbspon information systems audit and

Assignment  on Information Systems audit and controls Assignment purpose: Elaborate on the different types of control that are applied in a hospital (Preventive, detective and corrective control). Evaluate the logical an ...

Search the web or other sources for a recursive function

Search the web or other sources for a recursive function that's not in our Python text. Implement that function in Python then turn in a Word document that contains the following: (1) A brief paragraph explaining what yo ...

Question suppose we deal a 5 card hand from a standard deck

Question : Suppose we deal a 5 card hand from a standard deck. What is the probability that the hand is all Spades, given that it has at least two Spades? The response must be typed, single spaced, must be in times new r ...

Requirementsdesign and implement an application with a

Requirements Design and implement an application with a graphical user interface to manage a library of songs. A song is uniquely identified by name and artist (case insensitive). Your application should have a SINGLE WI ...

30 of the cars in a dealer lot are red 21 are black and 22

30% of the cars in a dealer lot are red, 21% are black, and 22% are white. The remainder are some other unspecified color. Salespersons randomly shows three cars to three different customers. What is the probability the ...

Quesiton an important principle in information security is

Quesiton: An important principle in information security is the concept of layers of security, which is often referred to as layered security, or defense in depth. 1) Please explain the concept of layers of security. 2) ...

What is the lithium by mass in a sample of pure lithium

What is the % lithium by mass in a sample of pure lithium carbonate that has a sample size of 10.0g?

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As