Question: Language C# Develop an application that uses a switch statement to calculate sales. The application should get a selection of a product from the user

 Language C# Develop an application that uses a switch statement to

Language C#

Develop an application that uses a switch statement to calculate sales. The application should get a selection of a product from the user through a radio button. When the user clicks on a radio button to identify a product chosen, the user can then enter quantity sold into a textbox The retail prices for each product are (product 1: $3.99, product 2: $1.40, Product 3: $2.10, Product 4: $5.01, Product 5: $1.98) The total of each sale should be added to a list box, if a user sells for example 12 of product 1 then $47.88 should show up in the list box. The user should be able to add as many products as they want to the list box. Using a for statement, while or do-while loop allow the user to click a total button which shows the sum of all line items in the list box. The result should show up in a label control

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!