Programming 10
BMIS 208
Programming Assignment 10 Instructions
Adapted from Introduction to Programming Using Visual Basic 2012, 9/E, David I. Schneider.
Write a Visual Basic program to implement the cash register in the diagram below. The program should have a class called CashRegister that keeps track of the balance and allows deposits and withdrawals. The class should not permit a negative balance. If the user tries to subtract a number that would result in a negative balance, the system should produce a messagebox indicating that the transaction would result in a negative balance, which is not permitted.