subject
Engineering, 11.05.2021 20:50 kaitlyn114433

Write a program using functions and the switch structure to determine the healthiest food store.
Build a menu, exactly, like the following menu:
Which fast food restaurant provides the healthiest food:
1. McDonalds
2. Jack in the Box
3. Chick-fil-A
4. Exit
The user inputs a number 1 or 2 or 3 or 4.
If the user types a 1 output to the monitor is "That's right, Mac y Dee!
If the user types a 2 output to the monitor is "Yes, the guy with the big round head."
If the user types a 3 output to the monitor is "The best chicken in town."
If the user types a 4 output to the monitor is "Thank you for choosing!"

c++

ansver
Answers: 2

Other questions on the subject: Engineering

image
Engineering, 03.07.2019 15:10, brooklyn674
Apiston-cylinder with a volume of 0.25 m3 holds 1 kg of air (r 0.287 k/kgk) at a temperature of 100 c. heat transfer to the cylinder causes an isothermal expansion of the piston until the volume triples. how much heat is added to the piston-cylinder?
Answers: 3
image
Engineering, 04.07.2019 18:10, niyawilliams23
Asingle-geared blanking press has a stroke of 200 mm and a rated capacity of 320 kn. a cam driven ram is assumed to be capable of delivering the full press load at constant force during the last 15 percent of a constant-velocity stroke. the camshaft has an average speed of 90 rev/min and is geared to the flywheel shaft at a 6: 1 ratio. the total work done is to include an allowance of 16 percent for friction a) estimate the maximum energy fluctuation b) find the rim weight for an effective diameter of 1.2 m and a coefficient of speed fluctuation of 0.10
Answers: 1
image
Engineering, 04.07.2019 18:10, ijohnh14
Shafts are machine elements that are used to a) carry axial loads b) direct shear loads c) transmit power d) rotate at constant speed e) none of the above circular and square shafts subjected to the same torque under the same circum behave a) the same way b) almost the same way
Answers: 2
image
Engineering, 04.07.2019 18:10, namira16
Which of the following controllers anticipates the future from the slope of errors over time? a)-proportional b)-on/off c)-integral d)-derivative.
Answers: 2
You know the right answer?
Write a program using functions and the switch structure to determine the healthiest food store.

Questions in other subjects:

Konu
Biology, 19.11.2020 06:40
Konu
Mathematics, 19.11.2020 06:40
Konu
Mathematics, 19.11.2020 06:40