C# Banking - repost


Based on the program you created for Assignment 5, modify your code to perform the following steps.

In Assignment 5, you created an Account hierarchy with a base class (Account) and two derived classes (SavingsAccount and CheckingAccount). Three of the mutator methods in this assignment validated user input: setBalance, setInterestRate, and setFeeCharged. In all of these methods, you were instructed to set the respective variables equal to zero if the user passed in a negative amount. In this assignment, you will modify your code such that if the user passes in a negative amount, an exception will be thrown that alerts the user that a negative amount has been entered. The program should catch the exception and display the error message to the user. Once an error (negative amount) has occurred, the program should inform the user that negative numbers are not permitted. It should then redisplay the menu. If an exception has not occurred, and a checking or savings object has been successfully created, the program should print the information for that object.

[Hint: You will need to create an exception class – call it NegativeNumberException – that takes a string as an argument to its constructor that represents the error. The string should be “Invalid Entry – Negative numbers are not permitted.”]

Modify your Main() method such that instead of hardcoding the SavingsAccount and CheckingAccount information, you prompt the user to enter the needed information. Generate a menu like the one below and loop until the user enters “Q” to quit the application.

Based on the 18 steps required for Assignment 5, you only need to implement steps 1 and 2 and instantiate their creation based on the user’s menu selections. You may remove steps 3 through 18. This assignment is only intended to demonstrate your ability to handle exceptions.

Skills: C# Programming

See more: assignment, banking program, will thrown alerts user negative amount entered, banking code, for loop in c programming, for loop c programming, c string programming, c sharp object, c sharp base, c programming for loop, c programming classes, base exception, argument programming, banking application, savingsaccount class, checking account program, print repost, banking account, create savingsaccount class, code banking application, programming banking, program checking account, call hierarchy, article writers needed repost, writers needed urgent repost

Project ID: #4489096

24 freelancers are bidding on average $175 for this job


I can deliver the project

$263 USD in 8 days
(35 Reviews)

Hi. I can do this for you. Please send the current source code

$147 USD in 3 days
(29 Reviews)

Looks pretty easy. can be done in hour or two.

$34 USD in 1 day
(103 Reviews)

Hi, please check the PM!

$330 USD in 3 days
(6 Reviews)

Please refer my profile and award this work to me. Thanks

$99 USD in 3 days
(25 Reviews)

Hi, I (Myself a senior ASP.NET programmer using C# and VB) have a team having experience of more than 5 years in developing web and mobile applications. I have a team of expert programmers who write robust and bug-fre More

$440 USD in 10 days
(9 Reviews)

Please check private message.

$40 USD in 1 day
(6 Reviews)

Hi, First of all thanks for posting this project, I am available to provide you economical services for Microsoft C# Application development , I have read and understood all of project details. I am expert in softw More

$147 USD in 8 days
(1 Review)

Expert here to help you

$80 USD in 2 days
(6 Reviews)

hi, i can do this fast. Please check PMB. Thanks.

$30 USD in 1 day
(1 Review)

Hey Mark, I was a University TA in my Comp Sci program, so not only can I deliver clean, correct code fast; since I used to also grade projects similar to this one, I can also make sure it looks like the code a student More

$55 USD in 1 day
(1 Review)

Interested in the project

$990 USD in 7 days
(2 Reviews)

Hello.. I can do this assignment.. Charges will be thirty dollar.. But i need assignment 18 too as it will help me to understand the whole problem... Waiting for your reply... :)

$35 USD in 1 day
(1 Review)

I have been working for these type of projects for 2 years.

$39 USD in 3 days
(0 Reviews)

hi ,l can help you ! please check the PM!

$66 USD in 3 days
(0 Reviews)

I can work on this and finish this quickly for you, but I will need the submitted code for assignment 5 to make the required modifications. I look forward to working with you on this.

$45 USD in 1 day
(0 Reviews)

Dear Sir; Please check PMB

$54 USD in 3 days
(0 Reviews)

can be done

$257 USD in 3 days
(1 Review)

I develop and support FinancialWorld(Tm) Banking Software. I will bring over 19 years of technical programming experience, subject matter knowledge and strong C# skills to bear on your project should you elect to award More

$220 USD in 3 days
(0 Reviews)

I am computer engineer, Ready to work on...

$110 USD in 3 days
(0 Reviews)