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
The graph of f(x) = 1/x cos
nikitadnepr [17]

Answer:

D. f(x) exist for all real numbers where  x ≤ -1  or x ≥ 1

Explanation:

You can't divide by 0 and

You can't have a negative squareroot.

So solve for when x=0 for the denominator,

and when is x<0 for the squareroot.

4 0
3 years ago
If two predators prey upon the same prey species and one of them is eliminated, the population of the second will likely _______
Marizza181 [45]
Here is your answer:

Your answer is C decrease!

Reason: That's because when their are two predators who eat the same animal their animal species will decrease because of new predators that will eat them!

Your answer is C.
4 0
3 years ago
Read 2 more answers
Whats soft when it goes in and hard when it comes out
Eduardwww [97]
I think its gum is it?
8 0
3 years ago
Read 2 more answers
Every Bill which shall have passed the House of Representatives and the Senate, shall, before it become a Law, be presented to t
Ludmilka [50]
Its D<span>.Checks and balances</span>
6 0
3 years ago
Read 2 more answers
How do i quiet a baby?
den301095 [7]

Play with the baby, feed it , or maybe change the diaper

7 0
3 years ago
Other questions:
  • How are you similar to the kite?<br> what are your strenghts as a person?
    12·1 answer
  • Balance of trade summarizes
    14·1 answer
  • Explain how cognitive neuroscience attempts to describe consciousness and dual processing. Then, cite two experiences in which y
    12·1 answer
  • 1. A psychologist conducted a study at her home during an annual activity of children wearing masks and
    8·1 answer
  • Evaluate the extent to which the Chesapeake and New England colonies differed, and account for why the major differences in deve
    14·1 answer
  • Hey guys. I These are kinda awkward photos of my but I like my hair in them. ,please rate
    6·1 answer
  • PLEASE HELP ASAP!
    12·1 answer
  • • An ecologist examining several different ponds discovers that in one pond all the frogs are female. Which of
    7·1 answer
  • Naturally occurring events that create negative effects on the environment and people are called
    6·1 answer
  • what technologies did this empire utilize or develop to establish and maintain their sea based empire
    9·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!