Discount Get BMIS 209 ALL WEEKS Solution ONLY $99.99 $121.93
BMIS 209 Week 1 - Write an application that asks the user to ente... [$9.99]
BMIS 209 Week 2 - Develop a C# application that inputs one salesp... [$15.99]
BMIS 209 Week 3 - Write a recursive method called Power(base, exp... [$15.99]
BMIS 209 Week 4 - Create a class called SavingsAccount [$19.99]
BMIS 209 Week 5 - Create an inheritance hierarchy that a bank mig... [$19.99]
BMIS 209 Week 6 - Develop a polymorphic banking application using... [$19.99]
BMIS 209 Week 7 - Based on the program you created for Assignment... [$19.99]
BMIS 209 Week 8 - General Background Information [$29.99]
Get Selected Weeks Solution with ONLY NOT Add Selected Tutorials To Cart
BMIS209 BMIS 209 BMIS/209 - Assignment 7 - Week 7 - Module 7 - Based on the program you created for Assignment 5, modify your code
    BMIS209 BMIS 209 BMIS/209 - Assignment 7 - Week 7 - Module 7 - Based on the program you created for Assignment 5, modify your code

BMIS209 BMIS 209 BMIS/209 - Assignment 7 - Week 7 - Module 7 - Based on the program you created for Assignment 5, modify your code

$19.99

BMIS209

Programming Assignment 7 Instructions

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.

Solution for BMIS209 Assignment 7

Solution contain Visual Studio C# project (you can open and run this project by Visual Studio 2010 or newest version)

It is 100% correct.

If you have more questions, please contact me via email support@extutorials.com

I will help you any time

Thanks

Attached Files

Move over [ preview ] file name to preview content in it!

Write a review

Your Name:


Your Review: Note: HTML is not translated!

Rating: Bad           Good

Enter the code in the box below:



PURCHASE SAVE
2 Tutorials 10%
3 Tutorials 13%
4 Tutorials 16%
5 Tutorials 19%
6 Tutorials 22%
7 Tutorials 25%
8 Tutorials 28%
9 Tutorials 31%
10 Tutorials 34%
add url more

9MZQASHWN73B