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, 23.06.2019 02:50
There’s only one game mode that stars with the letter ‘e’ in cs: go. which of the options below is it?
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
Which best compares appointments and events in outlook 2010appointments have a subject man, and events do notappointments have a specific date or range of dates, and events do notappointments have a start and end time of day, and events do notappointments have a location option, and events do not
Answers: 2
question
Computers and Technology, 23.06.2019 09:30
You wanted to look up information about alzheimer's, but you were unsure if it was spelled "alsheimer's" or "alzheimer's." which advanced search strategy would be useful? a) a boolean search b) using a wild card in your search c) trying different search engines d) doing a search for "alsheimer's not alzheimer's" asap. ill give brainlist.
Answers: 1
question
Computers and Technology, 23.06.2019 12:00
What does the level 1 topic in a word outline become in powerpoint? a. first-level bullet item b. slide title c. third-level bullet item d. second-level bullet item
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, 11.03.2020 16:52
question
Mathematics, 11.03.2020 16:52
question
Geography, 11.03.2020 16:52
Questions on the website: 13722367