Question: Programming Assignment 5; C# 100 Points C# : Create a BankAccount class that can be used to maintain a bank account balance. Include appropriate constructors,

Programming Assignment 5; C#

100 Points

C#: Create a BankAccount class that can be used to maintain a bank account balance. Include appropriate constructors, properties, and methods to enable the account to be originally created and for amounts to be deposited and withdrawn for the account. The GUI can be simply buttons for deposit, withdrawal and account balance, and a textbox for display and entry. Write the following exception classes:

NegativeBalanceException class thrown whenever a balance is calculated to go negative, which is not acceptable.

NegativeDepositException class thrown whenever a negative deposit amount is entered.

TooLargeException thrown whenever a deposit or withdrawal is more than $1,000.00.

Write an application class and thoroughly test the exceptions.

Evaluation:

NegativeBalanceException Class and Utilization 20 points

NegativeDepositException Class and Utilization 20 points

TooLargeException Class and Utilization 20 points

Constructor and Properties Utilization 20 points

Main() method 10 points

Proper Commenting 10 points

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!