1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
seraphim [82]
3 years ago
8

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.
SAT
1 answer:
katrin2010 [14]3 years ago
5 0

The statement that completes the code segment is random(1,100)<=60.

From the question, we have the following highlights

  • In every 100 customers, 60 purchase full meal
  • In every 100 customers, 40 purchase a side dish

<h3>Random generator</h3>

Using a random generator, the following must be true

  • The lower bound of the generator must be 1
  • The upper bound of the generator must be 100

<h3>The conditional statement</h3>

From the complete program, the else if statement handles the customers that purchase only side dish.

So, the if condition must handle the customers that buy full meals.

Hence, the missing statement in the code is random(1,100)<=60

Read more about code segments at:

brainly.com/question/18497347

You might be interested in
+23PTS! PDF Volume question -_- find diameter from the cylinder. I got 9 answer is 6 how???
Serga [27]

Answer: See below

Explanation:

For this question, we are given the volume, and we want to find the diameter. We have to work backwards to get our radius, then to find the diameter.

V=\pi r^2h         (Volume of cylinder)

72\pi =\pi r^2h      (The π cancel out)

72 =r^2(8)        (Plug in h=8)

9=r^2              (Divide 8)

r=3               (Square root of 9 is 3)

Now that we have our radius, we can find our diameter.

d=2r             (Equation for diameter)

d=2(3)\\          (Plug in r=3)

d=6yards     (Multiply)

5 0
3 years ago
Read 2 more answers
Please!!!!!!!!!!!!!!!!!!!!!!!!
zheka24 [161]

Hi,


1. "à" Rennes "en" voiture

2. "dans" la voiture.

3. "par" avion ou "par" bateau.

4. "sur" la télévision.

5. "à" la télévision

6. Charles sera "à" la maison

7. "Dans" la maison---

8. J'ai acheté des croissants et des brioches "à" la boulangerie.

9. Je passerai "à" la boulangerie en rentrant.

10. "Dans" ce théâtre, les places sont numérotées.

11. "Au" théâtre, les acteurs sont en contact direct avec le public.

("à le" théâtre, no correct, "au" correct)

12.Le Festival du Mrais organise des spectacles "dans" la rue.

13. Les piétons doivent marcher "sur" le trottoir.

14. Nous sommes allés dîner "dans" un restaurant près des Halles.

15. Au (à + le) restaurant, hier soir, nous avons mangé un délicieux canard à l'ananas.

16. Les enfants vont "dans" le jardin du Luxembourg le mercredi après-midi.

17. Nous passerons "dans" le jardin du Luxembourg pour aller à la Sorbonne.

18. Cette année-là, j'ai travaillé "pendant" le mois de juillet et j'ai pris mes vacances "au" mois d'août.

19. L'arrêt de l'autobus allant vers la gare Montparnasse est "de" l'autre côté de la rue.

20. Viens t'asseoir "à" côté de moi !

21. Les programmes de la télévision sont annoncés "dans" le journal.

22. Les heures d'ouverture de l'agence de voyages sont indiquées "dans" le prospectus.

23. Beaucoup d'étudiants travaillent et écoutent de la musique "en" même temps.

8 0
4 years ago
C=
wariber [46]
<h2>Right answer: I and II only </h2>

If we already have the formula to find how temperature measured in degrees Fahrenheit, relates to a temperature in degres Celsius:

C=(F-32)\frac{5}{9}    (1)

We can know the formula to find how temperature measured in degrees Celsius, relates to a temperature in degres Fahrenheit, only by isolating F:

F=(\frac{9}{5}C)+32    (2)

Having both formulas, let’s begin:

I) If we want to prove that a temperature increase of 1 degree Fahrenheit is equivalent to a temperature increase of 5/9 degree Celsius:

Beginning with 1\ºF:

C=(1\ºF-32)\frac{5}{9}=-17.22\ºC

This means: 1\ºF=-17.22\ºC

Now we are going to increase 1 degree Farenheit. In other words, we are going to use 2\ºF:

C=(2\ºF-32)\frac{5}{9}=-16.66\ºC

This means: 2\ºF=-16.66\ºC

Calculating the difference between -16.66\ºC   and  -17.22\ºC:

-16.66\ºC-(-17.22\ºC)=0,55\ºC>>>>This is equal to 5/9 degree Celsius, hence is correct

II) If we want to prove that a temperature increase of 1 degree Celsius is equivalent to a temperature increase of 1.8 degrees Fahrenheit:

Beginning with 1\ºC:

F=(\frac{9}{5}1\ºC)+32  

F=33.8\ºF  

This means: 1\ºC=33.8\ºF  

Now we are going to increase 1 degree Celsius. In other words, we are going to use 2\ºC:

F=(\frac{9}{5}2\ºC)+32  

F=35.67\ºF  

This means: 2\ºC=35.67\ºF  

Calculating the difference between 35.67\ºF   and  33.8\ºF:

35.67\ºF-33.8\ºF=1.8\ºF>>>>This is a proof of the statement, hence is also correct.

<h2 />

III) If we want to prove that a temperature increase of 5/9 degree Fahrenheit is equivalent to a temperature increase of 1 degree Celsius:

Beginning with 1\ºC:

F=(\frac{9}{5}1\ºC)+32  

F=33.8\ºF  

This means: 1\ºC=33.8\ºF  

Now we are going to add \frac{5}{9}\ºF:

33.8\ºF+\frac{5}{9}\ºF=34.35\ºF

And use this value in the Celsius formula:

C=(34.35\ºF-32)\frac{5}{9}=1.30\ºC

This means: 1.30\ºC=34.35\ºF

In other words: An increase in 5/9 degree Fahrenheit is equivalent to a temperature increase of 1.30 degree Celsius, <u>not 1 degree Celsius</u>.

Therefore this statement is incorrect.

4 0
4 years ago
The best way to keep the hands free from contamination is to?
ch4aika [34]
Wash ur hands. i hope it helps!
6 0
3 years ago
Read 2 more answers
Can IV tubing prevent back flow and contamination of the injection devices?
Nitella [24]

Answer:

Explanation:

Intravenous (IV) tubing or valves can prevent back flow and contamination of injection devices. This is also false! The truth is that everything from the syringe or medication bag to the patient's IV catheter is a single interconnected unit.

7 0
3 years ago
Other questions:
  • Financially, it probably makes more sense to:
    14·1 answer
  • What is a filibuster?
    13·2 answers
  • Anyone has last minute tips for the SAT on saturday?
    11·1 answer
  • Saplings are often pioneer species.<br> true or false
    15·1 answer
  • Which would be the most likely source of documentation of gross receipts for Roger, a sole proprietor who makes toys that he sel
    6·1 answer
  • Eight less than four times a number is less than 56.
    15·1 answer
  • Magnesium reacts with oxygen gas to form magnesium oxide.
    14·1 answer
  • Algebra 1: concepts, skills, and problem solving (california) solutions
    5·1 answer
  • Which of the following is a characteristic of all minerals?
    10·1 answer
  • What was the legacy Louis XIV left for his successor, Louis XV?
    11·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!