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]
2 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]2 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]2 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
Scenario
mario62 [17]

Answer:

In this study, we tested the effects of NEAA-deprived diets and checkpoint inhibitor anti-PD-1 and anti-PD-L1 in colon cancer using syngeneic mouse model (Balb/c) bearing tumors of mouse colorectal cancer cell line CT-26. Three diets were tested, including a natural rodent diet Teklad ENVIGO Global 16% Protein Rodent Diet (control 1), a formulated NEAA-complete diet COMPLETE (control 2, using amino acid mix in place of protein), and a formulated NEAA-deprived diet FTN203 (treatment, using amino acid mix in place of protein). Both COMPLETE and FTN203 have the same nutritional structures, contain 17% w/w protein equivalent, and are isocaloric. After tumor size-based randomization, these diets were provided to mice ad libitum throughout the whole test. Each of these diets was used alone or combined with anti-PD-1 antibody (i.p., twice per week for 2 weeks) or anti-PD-L1 antibody (i.v., twice per week for 2 weeks).

Explanation:

7 0
3 years ago
There are two spinners. One spinner has four equally sized sectors that are numbered 1, 2, 3, and 4. The second spinner has thre
d1i1m1o1n [39]
6 answers do not show even numbers
8 0
3 years ago
Read 2 more answers
One game at a carnival is called “Duck Pond.” This game consists of a large number of ducks that are floating through an oval-sh
Irina18 [472]

Answer:

that's alot of question

5 0
3 years ago
Read 2 more answers
What type of relationship involves people who don't share the same status?
meriva
A vertical relationship involves people who don’t share the same status
3 0
3 years ago
Read 2 more answers
N a particular country in 1995, the average worker needed to work 30 hours to produce 40 units of output. in that same country i
SVETLANKA909090 [29]

honey if you don't understand u can always ask a teacher

6 0
1 year ago
Other questions:
  • If your are under the age of 18 and accumulate six points on your license within twelve months?
    8·1 answer
  • Flashcards should focus on a. Key points c. Both of these b. Bits of information d. None of these
    12·2 answers
  • Where did the arrangement of "going up on the mountain" as preformed by jody stecher come from
    14·2 answers
  • If you had the chance to move to any city or region in the United States, where would you choose to move? What pull factors woul
    12·1 answer
  • A monotheistic religion worships ____ ______, while a polytheistic religion worships _________ ______________.
    14·2 answers
  • Nakikita ba ang disiplina sa panahon ng pamamahagi ng relief goods?​
    6·1 answer
  • PLZZ HELPP WILL GIVE BRANLYEST(IF CORRECT) What must an author include to convince readers that a claim is true?
    15·2 answers
  • Plato believed in two different worlds, which he called Heaven and Earth.<br> true or false???
    11·1 answer
  • A) The three levels of biodiversity are genetic diversity, species diversity, and ecosystem diversity. Explain the three levels
    8·1 answer
  • Which of the following explains how the role of government in health care policy would be influenced if the policy proposal in t
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!