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
liq [111]
3 years ago
13

A museum charges different prices based on the day of the week and age of the visitor. The pricing rules are shown below. On Tue

sday and Thursday children 10 and under get in free ($ 0). For all other days and ages the cost is ten dollars ($ 10). The visitor's age is stored in the variable age, the day of the week is stored in a variable day, and the price in dollars is stored in the variable price. Which piece of code will correctly decide the price for each ticket. A. B. C. D.
Advanced Placement (AP)
2 answers:
igomit [66]3 years ago
6 0

Answer:

D because we want the code to say day is equal to tuesday or day is equal to thursday and age is less than or equal to 10

Explanation:

Lostsunrise [7]3 years ago
4 0

Answer:

C.

Explanation:

You need an && statement because it says both Tuesday AND Thursday not Tuesday OR Thursday which is what the rest of the answer choices say.

You might be interested in
Help before 2:00! PLZ<br><br> How does a hydroelectric power plant convert energy?
Zina [86]
The turbine in a hydroelectric plant take the kinetic energy to turn the generator which uses magnets to cause the electricity to start to run.
3 0
3 years ago
Read 2 more answers
20000000000000000 times 40000000000000000000
Liono4ka [1.6K]

Answer:

Explanation

The answer would be 2times4 and you would add the rest of the zeros so, = 80000000000000000000

3 0
4 years ago
PLEASE HELP URGENT ITS DUE IN 2 HOURS JUST ANSWER THE QUIETIONS PLEASE AND WRITE THE STORY PLEASE IM FAILING AND NEED THIS A SO
inn [45]

Answer:

where's the information??

Explanation:

6 0
3 years ago
Where do most undocumented immigrants in the U.S. come from?
Ksju [112]

Answer:Mexico

Explanation:

It is adjacent to the US and offers financial and political freedom

4 0
3 years ago
What are practical implications of gis (using the case study of Borneo)?
topjm [15]
<span>Geographic information system is used to capture, manage and presenet spatial or geographic data. Mapping is the central function of GIS. It was widely used in mapping the rainforest in Borneo, third largest island, and arrived more alarming conclusions like loss of diversity, species becoming endangered etc.</span>
3 0
3 years ago
Other questions:
  • Coolant should be clear, not clouded from contamination, and should feel A. hot. B. slippery. C. cool. D. sticky.
    13·1 answer
  • Increased deforestation reduces the habitat for an arthropod species preferred by an island reptile. Which of the following desc
    8·1 answer
  • Carlos is biologically male but he does not feel particularly male, nor does he feel particularly female based on this, carlos g
    12·2 answers
  • What has roots that no one sees,taller then trees,up up up it goes and no one knows. what am i?
    15·2 answers
  • How do the constitutional amendments limit the Supreme Court’s power?
    6·1 answer
  • The Louisiana Purchase of 1803
    11·1 answer
  • Tell me what does WSG mean in texting​
    12·1 answer
  • Bakit marami sa mga pilipino ang na akit pumasok sa paaralan​
    12·1 answer
  • 2. What are some of the discoveries that have been made about the<br> (dys)function of the brain?
    5·1 answer
  • Which type of diffusion is likely to become less influential as internet is usage expands?
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!