subject

C#:
for today's lab you will be creating a store inventory management system. your program will have to have the following elements. it should allow any number of customers to shop at the store using names to identify each one. the user should be able to select which one is the current customer. the system must contain a list of at least 50 items (repeats are allowed) that can be purchased by the customers.
for a customer to make a purchase they must transfer the items they wish to buy to their own shopping cart. (a shopping cart list should be maintained for each customer). the user should be able to switch between customers without losing the contents of each customer's cart. the user can select complete purchase and will be presented with a total for that user’s purchases. customers should be able to remove items from their cart and return them to the stores inventory. a customer’s cart should be removed after her/his purchase is complete.
every time an item moves to or from a shopping cart the item name and new location should be logged. when a purchase is completed the customer name and total should be logged.
use the following guidelines to complete this application:
classes
classes should be used to represent
inventory items
customers
list(s)
lists should be used to represent
the stores inventory
customers shopping carts
dictionary
a dictionary should be used to
track all of the customers - identified by their name
user options
the user should have the following options
select current shopper - list of all shoppers and option to create another shopper
view store inventory - list everything the store is selling
view cart - list of everything in the current customers cart
add item to cart - allow the user to select an item to add to the current customer’s cart and remove it from the store’s inventory. (can be combined with the view store option if you wish)
remove item from cart - allow the user to select an item to add to the stores inventory and remove it from the current customer’s cart. (can be combined with the view cart option if you wish)
complete purchase - total up the cost of all of the items in the user’s cart and display that value. remove the customer from the dictionary of customers
exit - exit the program
logging
a logging class is used to log the required info to file "log. txt"
it is your choice on which method to log with. (log, logw, logd)
required info
current customer’s name every time it changes
item name and location (cart/store inventory) every time it changes
customer name and purchase total when a purchase is completed
input
all input should be validated and limited to the options presented to the user
the user should not be able to crash the program
program should continue to run until the user chooses to exit
extra information
go back through your code and check for the following:
all variables and methods are named appropriately.
any information being output to the user should be clear and concise.
the user should be clearly informed of what is occurring throughout the application. when values change or objects are instantiated information about this occurrence should be displayed.
make sure nothing accesses an object that doesn’t exist.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 22:00
What is the name of the option in most presentation applications with which you can modify slide elements? 1. the option enables you to modify a slide element in most presentation applications.
Answers: 3
question
Computers and Technology, 23.06.2019 22:50
What is an rss reader used for? for creating a user account on a social new site
Answers: 2
question
Computers and Technology, 24.06.2019 07:00
Guys do you know sh27 cause he hacked me : ( pidgegunderson my old user
Answers: 2
question
Computers and Technology, 24.06.2019 16:30
The database design steps are listed below in the incorrect order. choose the correct order number next to each step. determine the information to be stored in the database. determine the fields needed to record the data determine if there will be any repetition of data entered, and separate the fields into tables to normalize the data. create relationships to connect the tables.
Answers: 3
You know the right answer?
C#:
for today's lab you will be creating a store inventory management system. your program w...
Questions
question
Mathematics, 11.05.2021 17:00
question
Mathematics, 11.05.2021 17:00
Questions on the website: 13722361