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
Describe a common characteristic shared by the coffee producing countries shown on the map.
dimulka [17.4K]

Answer:

They are all less-developed or developing former colonies

Explanation:

6 0
3 years ago
Which of the following statements concerning the states of the pacific rim is the most accurate?
tester [92]
A because it gives historical details
7 0
3 years ago
How likely is c o v i d to be in the ap test next year
strojnjashka [21]

Answer

very likely

Explanation:

um yeah they will make us write papers about how its affected us all if we even go back to school i bet

3 0
3 years ago
Read 2 more answers
Which of the following statements about clear cutting is false?
Alina [70]

Answer:

C

Explanation:

I think

4 0
3 years ago
What is NIR?<br><br><br><br><br><br><br><br><br> I dont need answer nvm
Elodia [21]

Question:

What is NIR?

Answer:

Natural Increase Rate

6 0
4 years ago
Read 2 more answers
Other questions:
  • What factors are used to calculate the UN's Human Development Index(HDI)?
    12·2 answers
  • Which area's natural resources are LEAST LIKELY to be able to support a high population density?
    10·1 answer
  • Which of the following is true for bonds but not for stocks?
    10·2 answers
  • A truck is on the road for 20 hours and travels 1400 miles in that time. What is
    8·1 answer
  • A barrio is an example of
    6·1 answer
  • CFCs have been largely replaced with HFCs in refrigerators and in home and
    10·1 answer
  • Explain how increasing demand for processed potato products in developed countries may affect potato farmers in developing count
    15·1 answer
  • How did government farm subsidies, until recently, promote farming techniques that were ecologically destructive?
    12·1 answer
  • How is a narrative poem different from a short story? WILL GIVE MONEY GIVE ME CASH APP
    7·2 answers
  • Define social issues​
    7·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!