Question
C# Application. Only C# In this assignment you will create your own online shopping store in the console application. You can choose different products to
C# Application. Only C#
In this assignment you will create your own online shopping store in the console application. You can choose different products to sell in your store (at least 8 products, any of your choosing). You will create a product inventory text file. The program will display two options at the beginning of the program, Customer and Manager(Like a menu).
Customer: If this is a new customer, the program will let customer to register with their information and assign a unique ID number to the new customer. The customer will enter the customer id every time when they are shopping in your store and the program will keep tracking the total amount the customer spends each time to determine the discount level. The amount of the customers discount is determined by the amount of the customers cumulative purchases in the store as follows: When a preferred customer spends $500, he or she gets a 5% discount on all future purchases. When a preferred customer spends $1000, he or she gets a 6% discount on all future purchases. When a preferred customer spends $1500, he or she gets an 8% discount on all future purchases. When a preferred customer spends $2000, he or she gets a 10% discount on all future purchases. The program has to keep tracking the products inventory. If customer select the product that is out of stock, the program has to display a warning message and let customer continue to shop. After customer finish selecting the products, the program will calculate the subtotal, apply the discount, calculate the tax, and the total. The program will display a receipt on the screen and save it to a text file with customer information. (Just like a receipt). Manager: The manager option has to be password protected. The program will give the manager two option: Display the inventory: display all the products stock information Restock the products: add more stock for each product You have to create different classes and utilize the inheritance features (For example, a customer class and manager class with properties and constructors. And a main function class that will contain the program ). You have two text files to keep all the information the program will need (products and the receipt). Make sure your program does not end unexpectedly and let user have the option to continue.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started