Write a C++ code to develop a software for your burger shop that takes orders for a tasty burger from the user, in just 5 steps. Attached below is the menu that you are going to display to the user in a nice attractive format. User can only add one type of bun to the burger. Maximum two types of cheese, 1 item from the category “turn up the taste”, maximum 3 from fresh’N it up and 3 from the sauces. If the user presses 0 then you are going to skip that category (user cannot skip “choose your bun” and “turn up the taste”).
Write a C++ code to develop a software for your burger shop that takes orders for a tasty burger from the
user, in just 5 steps. Attached below is the menu that you are going to display to the user in a nice
attractive format. User can only add one type of bun to the burger. Maximum two types of cheese, 1 item
from the category “turn up the taste”, maximum 3 from fresh’N it up and 3 from the sauces. If the user
presses 0 then you are going to skip that category (user cannot skip “choose your bun” and “turn up the
taste”).
Each element from the “choose your bun” costs .72$
Each element from the “make it cheesy” costs .5$
Each element from the “turn up the taste” costs 1.2$
Each element from the “fresh’N it up” costs .2$
Each element from the “get saucy” costs .3$
After taking the input from the user. Total cost will be displayed for the burger in $.
Trending now
This is a popular solution!
Step by step
Solved in 3 steps with 1 images