Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I need To Make Programme / Coding For this Assignment. please Help me For this store, you will offer 2 items of your choice for

I need To Make Programme / Coding For this Assignment. please Help me
For this store, you will offer 2 items of your choice for sale
For each item:
It must have two versions and allow the user to choose which version they would like to purchase
It must have a colour choice as well, provide a list of available colours and allow the user to select a colour
It must have a price (you determine the price)
Ensure all prices are shown to the user before they pick what they are ordering.
Provide a discount of 7% for students or senior citizens, as well as a quantity discount 30% for purchasing 5 or more of a particular item.
You will need to ask if the customer is a student, or a senior.
A person cannot get both a student or a senior discount
A person cannot get a student or senior discount as well as a quantity discount
Discounts could be different per item; for example, a senior citizen purchasing 10 shirts but one pair of another item would get a 30% quantity discount on the first, and a 7% seniors discount on the second type of item. Ensure you logic reflects this.
Apply 13% sale tax to the sale and show the cost before and after tax. Ensure that the tax is applied on the final total after any discounts.
When getting any input, the program should repeat prompts until a valid choice is given. A brief error message should show as to why the prompt is repeating if that is the case.
Print a summary menu that shows what was bought including the name the type of item, the details, and the total cost payable. Have the output at the end of your program follow a standard format as per below.
You can pick how wide your columns are, but make sure text lines up in the columns
The data being printed should line up to the column headers.
The savings row should only be there if a discount was given.
The example below uses 5 hockey sticks. Options available were Adult or Youth. Colour choices were Black, Blue, Yellow.
Yours would have a second line for the new item of your choice, but should follow the same format
Sample is attached Below:
image text in transcribed
please Provide me code in C# / C Sharp
thankyou
image text in transcribed

which type of information

The savings row should only be there if a discount was given . The example below uses 5 hockey sticks. Options available were Adult or Youth. Colour choices were Black, Blue, Yellow. Yours would have a second line for the new item of your choice, but should follow the same format Item Type | | | | Hockey Stick Adult Blue Total Saving Totalt Tax: 004 Totalt 51. Due Date Mar 1, 2021 11:30 PM Item Type Details Cost per Onty Discount Total Hockey Stick Adult, Blue $7.99 5 30% $27.97 Total Savings: $11.96 Sub Total: Tax: Total: $27.97 $3.64 $31.60

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Design And Relational Theory Normal Forms And All That Jazz

Authors: Chris Date

1st Edition

1449328016, 978-1449328016

More Books

Students also viewed these Databases questions