Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

image text in transcribed

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

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

Microsoft SQL Server 2012 Unleashed

Authors: Ray Rankins, Paul Bertucci

1st Edition

0133408507, 9780133408508

More Books

Students also viewed these Databases questions

Question

Give details of the use of ICT in workforce planning

Answered: 1 week ago