Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

using c# visual studio Design and code a windows application for a small coffee shop called Coffee Haven. The coffee shop sells Cappuccino, Espresso and

using c# visual studio

image text in transcribed

image text in transcribed

image text in transcribed

Design and code a windows application for a small coffee shop called Coffee Haven. The coffee shop sells Cappuccino, Espresso and Latte. With coffee cups sizes small, medium, and large. Each coffee cup size has different price inclusive of VAT and with free shipping as follow: Size Small Medium Large Price 1.5 2.0 2.5 The coffee shop gives 10% discount on any purchase done by using their coffee credit and 5% discount for not using it. Design the main form as shown in Figure 1, with radio buttons for type selecting, combo box for size selecting and combo box for quantity selecting. Quantity selection should be between 1 and 10 items only. Include two disabled buttons named "Add to Basket", and "Checkout Now". Coffee Haven Inclusive of VAT Free Shipping Order Type: O Cappuccino O Espresso O Latte Sizes: Quantity: Coffee Credit Add to Basket Checkout Now As shown in Figure 2 and Figure 3 , when the user select coffee type such as Cappuccino a picture of Cappuccino will displayed . And when the user select a size , quantity, and/or check the credit buttons Add to basket " and "Checkout Now will become enabled. Coffee Haven Inclusive of VAT Free Shipping Order Type: Cappuccino Espresso O Latte Sizes: Medium Quantity: 2 Coffee Credit Add to Basket Checkout Now Figure 2 Button Add to basket will display in a message box the quantity of the coffee cups(s) that has been added to the basket You have in your basket 2 item(s) OK Button Checkout Now will display in new form (Form2: Order Confirmation) coffee descriptions such as image, size , price , quantity, the total price order(before discount), and total price due (after discount) as shown in the Figure below. Total ordered = price x Quantity Total due= Total ordered - (Discount amount x Quantity) Order Confirmation Item Descriptions Price: Quantity Medium 4.000 2 Total ordered 4.000 Total due 3.600 Exit

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

Step: 3

blur-text-image

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

Fundamentals Of Database Systems

Authors: Ramez Elmasri, Sham Navathe

4th Edition

0321122267, 978-0321122261

More Books

Students also viewed these Databases questions