The code needs to be in C#, but I think it needs to be like a windows form app or something. I have provided one of the sample outputs to use as an example Lenny’s Car Wash company has reached out to you to design a basic interface for their car wash machines. The company offers the following car wash services: · Basic Wash ($10.00 USD) · Premium Wash ($15.00 USD) · Ultra Wash ($20.00 USD) In addition to the wash tiers available above, Lenny’s also offers the following add on services: · Air Freshener ($2.00) · Vacuum Service ($2.00) · Wax On Service ($5.00) · Tire Shine Service ($5.00) The customer must select a wash tier, but add-ons are optional. Additionally, only one wash tier may be selected per order. A receipt to the customer that details the wash selected, add-ons selected, and the total cost of the purchase must be shone after selections are finalized.
Types of Loop
Loops are the elements of programming in which a part of code is repeated a particular number of times. Loop executes the series of statements many times till the conditional statement becomes false.
Loops
Any task which is repeated more than one time is called a loop. Basically, loops can be divided into three types as while, do-while and for loop. There are so many programming languages like C, C++, JAVA, PYTHON, and many more where looping statements can be used for repetitive execution.
While Loop
Loop is a feature in the programming language. It helps us to execute a set of instructions regularly. The block of code executes until some conditions provided within that Loop are true.
The code needs to be in C#, but I think it needs to be like a windows form app or something. I have provided one of the sample outputs to use as an example
Lenny’s Car Wash company has reached out to you to design a basic interface for their car wash machines. The company offers the following car wash services:
· Basic Wash ($10.00 USD)
· Premium Wash ($15.00 USD)
· Ultra Wash ($20.00 USD)
In addition to the wash tiers available above, Lenny’s also offers the following add on services:
· Air Freshener ($2.00)
· Vacuum Service ($2.00)
· Wax On Service ($5.00)
· Tire Shine Service ($5.00)
The customer must select a wash tier, but add-ons are optional. Additionally, only one wash tier may be selected per order. A receipt to the customer that details the wash selected, add-ons selected, and the total cost of the purchase must be shone after selections are finalized.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 3 images
I forgot to mention that it should also have an error message. Does the code provided have an error message?