subject

Bakery sells three types of muffins whose prices are as follows: 1- blueberry muffin, $2.98 2- chocolate chip muffin, $4.50 and 3- banana muffin, $9.98. you will write an application which calculates the total retail value of the sold muffins. check the following requirements: • create a sentinel-controlled while loop. the flag value will be 0. display flag value in your messages. • display the menu and ask for the muffin number (int) (1 for blueberry one, 2 for chocolate chip one, or 3 for banana one). • then, ask for the quantity sold for the related muffin (int). • create a switch a statement to calculate the retail price for each muffin. • when the user terminates the application, display the total retail value (double) of all muffins. • additionally, add an if-else statement to check whether the user only enters 1, 2, 3 or 0. if the user enters invalid input, display a message that the user can only enter 1, 2, 3 or 0. then, ask for new input. (8 pts) upl

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 02:00
When jen is planning to upgrade to a monitor with a better resolution, what should she be looking for in the new monitor?
Answers: 1
question
Computers and Technology, 22.06.2019 23:00
Which factor is the most important when choosing a website host? whether customers will make secure transactions the number of email accounts provided the purpose of the website the quality of the host control panel
Answers: 3
question
Computers and Technology, 24.06.2019 00:50
Which of the following is not a key player in the sale of travel products?
Answers: 2
question
Computers and Technology, 24.06.2019 10:00
(, urgent need): how do i change my username
Answers: 1
You know the right answer?
Bakery sells three types of muffins whose prices are as follows: 1- blueberry muffin, $2.98 2- choc...
Questions
question
Mathematics, 25.01.2021 21:00
question
Mathematics, 25.01.2021 21:00
Questions on the website: 13722366