subject

A restaurant knows from historical data that 60 out of 100 of its customers purchase a full meal while 40 out of 100 only order a side dish. The program below is intended to simulate the orders of 1000 customers. fullMeal 0 sideDish 0 REPEAT 1000 TIMES { IF ( ) { fullMeal fullMeal + 1 } ELSE { sideDish sideDish + 1 } } DISPLAY (fullMeal) DISPLAY ("full meals were ordered,") DISPLAY (sideDish) DISPLAY ("side dishes were ordered.") Which of the following can be used to replace so that the simulation works as intended?

ansver
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 09:40, vanessacasillas452
In the lab, which of the following displayed a list of all installed services and included a description of the service, the current state, and whether the service started automatically or manually? a. the services manager b. the applications summary c. the recommended services d. list the safe services list
Answers: 2
image
Computers and Technology, 24.06.2019 14:30, tleppek6245
Alison is having a hard time at work because hee inbox is flooded with emails every day. some of these emails are unsolicited. some of other she don’t need. which action should she take to better manager her emails?
Answers: 1
image
Computers and Technology, 25.06.2019 07:30, volocibel
Which behavior demonstrates teamwork
Answers: 1
image
Computers and Technology, 25.06.2019 08:30, kammie89
How do i comment on answers? there's one answer i'm confused about but i don't know how to comment on it
Answers: 2
You know the right answer?
A restaurant knows from historical data that 60 out of 100 of its customers purchase a full meal whi...

Questions in other subjects:

Konu
Mathematics, 06.02.2021 14:00
Konu
Mathematics, 06.02.2021 14:00
Konu
World Languages, 06.02.2021 14:00
Konu
French, 06.02.2021 14:00
Konu
Chemistry, 06.02.2021 14:00