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
Find the volume of the figure.<br> A) 972π km3 <br> B) 741π km3 <br> C) 7776π km3 <br> D) 1368π km3
andreev551 [17]

Answer:

B

Explanation:

8 0
3 years ago
Read 2 more answers
Ano ang pagkakaiba ng kolonyalismo at impernyalismo?
DaniilM [7]
What does this mean.

(The answer es)
(Explanation)
(The cause of)
8 0
3 years ago
Here you go yall fre points do you wanna be my ffreind?
KengaRu [80]

yeet i do cause u seem like a really nice person :)

3 0
3 years ago
Read 2 more answers
True or False: Wait for oil to cool before straining or carrying it
Oksanka [162]
True. Is the answer
8 0
3 years ago
Read 2 more answers
What are the distinguishing features of the major domains and subfields of psychology?
alexgriva [62]
Domain 1: Biological (includes neuroscience, consciousness, and sensation) Domain 2: Cognitive (includes the study of perception, cognition, memory, and intelligence) Domain 3: Development (includes learning and conditioning, lifespan development, and language)
4 0
4 years ago
Other questions:
  • The type of organism likely to suffer the most from the effects of biological magnification is
    8·1 answer
  • What is the main purpose of being on offense
    10·1 answer
  • Did Columbus reflect the values of the 15th century Europe
    13·1 answer
  • While inspecting a masonry foundation, you find evidence of "efflorescence." This is probably due to A. fungus. B. leftover resi
    7·1 answer
  • True or false:tailgating,or following too closely is an example of aggressive driving.
    7·2 answers
  • What is not a factor of determining your auto insurance premium?
    15·2 answers
  • Explain why critical thinking and skepticism are important to scientific inquiry
    6·2 answers
  • Why can judicial review in combination with the nature of Supreme Court tenure lead to controversy, primarily about the Court’s
    8·1 answer
  • You want to put a fence around your large yard. You have found two companies that can do the work. They have each given you a qu
    7·1 answer
  • Your biology test is in a few days, and you have to study a large amount of material in order to prepare for it. Define all of t
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!