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

Another question on Engineering

question
Engineering, 04.07.2019 18:10
Different types of steels contain different elements that alter the characteristics of the steel. for each of the following elements, explain what the element does when alloyed with steel.
Answers: 2
question
Engineering, 04.07.2019 18:10
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
question
Engineering, 04.07.2019 18:10
The flow rate of air through a through a pipe is 0.02 m5/s. a pitot static tube is placed in the flow. the radius of the pitot static tube is 1 mm. assuming the flow to be steady and the air to be at 300k, calculate the difference in total and static pressure if the diameter of the pipe is: (a) d 0.1 m d 0.05 m (c) d 0.01 m
Answers: 2
question
Engineering, 04.07.2019 18:20
Prove the equivalence between the two statements of the 2nd law of thermodynamics (i.e., a violation of one statement leads to the violatio the other statement)
Answers: 2
You know the right answer?
Write a program using functions and the switch structure to determine the healthiest food store.
Questions
question
Mathematics, 17.10.2021 14:00