subject

Hello, I need a code C++ program that is a menu that includes the following: (It should run in CodeBlocks)-Include at least one if-else statement or switch -Include at least one while-loop (I want to ask the users if they want to run the menu (program) again (or include an input validation loop)
-Include at least one function that adds multiple choices (like if they want cookies and a cake they can add them up)
-Include at least one array (other than just a string), and use a loop to process it in some way
-Include the use of pointers or structures (any one of those or both)

My menu has:

-const int 1LB_Biscochos_COST = 3;
-const int 1LB_Cinnamon_Cookies_COST = 2;
-const int 1LB_Empanadas_COST = 4;
-const int Fudge_Cake_COST = 7;
-const int Vanilla_Cake_COST = 6;
-const int BDAY_Cake_COST = 9;

It should also ask for the customers name and generate the total cost for the purchase

I would really appreciate your help! Thanks in advance.

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 16:10
When copying and pasting text, the first step is move your cursor type the text select the copy command select the paste command
Answers: 2
question
Computers and Technology, 22.06.2019 21:00
Write a method so that the main() code below can be replaced by the simpler code that calls method original main(): public class calcmiles { public static void main(string [] args) { double milesperhour; double minutestraveled; double hourstraveled; double milestraveled; milesprhour = scnr.nextdouble(); minutestraveled = scnr.nextdouble(); hourstraveled = minutestraveled / 60.0; milestraveled = hourstraveled * milesperhour; system.out.println("miles: " + milestraveled); } }
Answers: 2
question
Computers and Technology, 23.06.2019 08:30
Based on your knowledge of a good network, describe what you think is a perfect network would be. what kind of information and resources could users share on this network. what would the network administrator do? what kind of communication would be used?
Answers: 1
question
Computers and Technology, 23.06.2019 10:30
Would a ps4 wired controller work on an xbox one
Answers: 1
You know the right answer?
Hello, I need a code C++ program that is a menu that includes the following: (It should run in CodeB...
Questions
question
Mathematics, 27.06.2019 06:00
question
Mathematics, 27.06.2019 06:00
Questions on the website: 13722361