subject
Computers and Technology, 02.03.2020 04:52 aj0914

Create a program that will ask the user for number of chicken wings or wings they want to order at a restaurant. The number of wings and the sauce will determine if there is a discount on the total wings purchased. For hot wings purchased in a quantity of 6 or less there is no discount. For hot wings and a quantity of more than 6 but less than or equal to 12, there is a 10% discount. For hot wings purchased in the amount of greater than 12 but less than 24 the discount is 20%. For sweet and sour wings, purchased with a quantity of 6 or less the discount is 5%. For sweet and sour wings and a quantity of greater than 6 but less than or equal to 12, the discount is 10%. For sweet and sour wings purchased with a quantity greater than 12 but less than or equal to 24, the discount is 15%. For all wing purchases greater than 24 wings, the discount is 25%. All wings are 50 cents each.
The program needs to ask the user for the type of wing either hot or sweet with the following prompt:
Enter the wing type:
The program also needs to ask for the quantity of wings using the following prompt:
Enter the quantity:
The program needs to determine the discount rate, calculate the subtotal, discount and total cost of the wings. It then needs to print out all of these values using the following text:
Discount Rate:
Subtotal:
Discount:
Total:
Finally the program needs to ask the user if they want to purchase another order of wings using the following prompt:
Enter yes to add another order of wings

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 15:30
Why would a programmer use the logical operator and in an if statement? a: when an action is to be taken that requires both conditions to be falseb: when an action is to be taken that requires both conditions to be truec: when an action is to be taken that requires the first condition to be falsed: when an action is to be taken that requires the second condition to be truei took the test and the answer is b.
Answers: 3
question
Computers and Technology, 23.06.2019 14:30
The option enables you to modify a slide element in most presentation applications.
Answers: 2
question
Computers and Technology, 24.06.2019 07:30
Aproject involves many computing systems working together on disjointed task towards a single goal what form of computing would the project be using
Answers: 3
question
Computers and Technology, 24.06.2019 11:30
What does the https: // mean when you type in a website
Answers: 1
You know the right answer?
Create a program that will ask the user for number of chicken wings or wings they want to order at a...
Questions
question
SAT, 01.04.2021 14:00
question
Mathematics, 01.04.2021 14:00
question
Mathematics, 01.04.2021 14:00
question
History, 01.04.2021 14:00
question
Biology, 01.04.2021 14:00
question
Chemistry, 01.04.2021 14:00
question
History, 01.04.2021 14:00
question
World Languages, 01.04.2021 14:00
Questions on the website: 13722360