Question
In C# please. Congratulations! You've decided to start your own business! You've been working on your product for a long time and now you're ready
In C# please.
Congratulations! You've decided to start your own business! You've been working on your product for a long time and now you're ready to sell it!
Write a program that displays your products and allows the user to view product descriptions about each product until they choose to exit.
Program Requirements: An abstract class called Product that contains the following: Four Properties: Name (string), Size (string), Price (double), and Description (string) Two Constructors: a no-arg and a four-arg Overridden ToString() that prints all four properties A class for your specialized product Can be any school appropriate product you want Must inherit from Product Must contain at least one additional property Two Constructors: a no-arg and a five or more-arg Overridden ToString() that includes the base data plus the new data for this class A driver class with a Main() Populate a List with some specialized products (this may be hardcoded) Print a menu and allow the user to view product data Exit when the user chooses to Extra credit: up to 2 points for input validation
Salsa Menu 0: Exit 1: Scorpion's Sting 2: Mom's Salsa 3: She Ghosted Me 4: Mean Green Choose a product>3 She Ghosted Me (Medium), $7.99 Heat level: Hot Description: Ghost peppers with grilled tomatoes and onions Press any key to continue... Salsa Menu 0: Exit 1: Scorpion's sting 2: Mom's Salsa 3: She Ghosted Me 4: Mean Green Choose a product >8 Invalid entry. Press any key to continue... Salsa Menu 0: Exit 1: Scorpion's Sting 2: Mom's Salsa 3: She Ghosted Me 4: Mean Green Choose a product>f Invalid entry. Press any key to continue... Salsa Menu 0: Exit 1: Scorpion's sting 2: Mom's Salsa 3: She Ghosted Me 4: Mean Green Choose a product>0 Closing application
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