Question: Cash Register Create an application that serves as a simple cash register for a retail store. Use the Inventory class you created in Programming Challenge
Cash Register
Create an application that serves as a simple cash register for a retail store. Use the Inventory class you created in Programming Challenge to store data about the items in the stores inventory. When the application starts up it should load the entire stores inventory from a file into a collection of Inventory objects.
When a purchase is made, the cashier should select an item from a list box. If an items OnHand property is set to zero, the item should not be available in the list box. The items description, retail price, and number of units on hand should be displayed on the form when selected. The cashier should enter the quantity being purchased, and the application should display the sales tax and the total of the sale. The quantity being purchased cannot exceed the number of units on hand. The quantity being purchased should be subtracted from the items OnHand property. When the application ends, the contents of the collection should be saved to the file.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
