Computers and Technology
Computers and Technology, 05.05.2021 14:00, shmote12

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.

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 00:30, lesok0818
Advantages and disadvantages of binary system
Answers: 1
image
Computers and Technology, 22.06.2019 02:30, capo9972
Write a program that takes in 3 inputs [players (int type), expected game time (double type), team (char type)] and calculates actual game time (double) based on the following conditions: if the number of players or the expected game time is less than or equal to zero, it should output wrong input if the number of players is greater than 0 and less than or equal to 6 and if they are on the â€r’ or â€r’ team, their game time will be 10% faster. and if they are on the â€b’ or â€b’ team, their game time will be 15% faster. and if they are on the â€y’ or â€y’ team, their game time will be 20% faster. and if they are on any other team, they will play 0% faster. if the number of players is greater than 6 but less than or equal to 12 and if they are on the â€r’ or â€r’ team, their game time will be 20% faster. and if they are on the â€b’ or â€b’ team, their game time will be 25% faster. and if they are on the â€y’ or â€y’ team their game time will be 30% faster. and if they are on any other team, they will play 0% faster. if the number of players is greater than 12 but less than or equal to 18 and if they are on the â€r’ or â€r’ team, their game time will be 30% faster. and if they are on the â€b’ or â€b’ team, their game time will be 35% faster. and if they are on the â€y’ or â€y’ team, their game time will
Answers: 2
image
Computers and Technology, 22.06.2019 06:00, kiaunarayne808
The width of a piece of rectangular land is 5m shorter rhan 1/3 of its length .find the width of the land if the length is 60m,150m.
Answers: 1
image
Computers and Technology, 23.06.2019 11:00, danielcano12281621
Sports and entertainment class, your goal is to increase attendance and make a profit for a game by getting your team on a winning track with total salaries less than $3,000,000
Answers: 3
Do you know the correct answer?
Hello, I need a code C++ program that is a menu that includes the following: (It should run in CodeB...

Questions in other subjects:

Konu
History, 13.11.2020 17:40