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
The Human Services career path is where “public servants” of the world work. True or False?
ahrayia [7]

Answer:

true

Explanation:

4 0
3 years ago
Read 2 more answers
What is mobile application?​
anastassius [24]

Answer:

mobile application, also referred to as a mobile app or simply an app, is a computer program or software application designed to run on a mobile device such as a phone, tablet, or watch.

8 0
2 years ago
What is the strongest factor influencing migration selectivity?
damaskus [11]
I would go with the answer E). Just because slavery ended years ago doesn't mean that's its still over even to this day, it use to be about gender as well back than where women couldn't vote but no one cares about that today, the things people care about is race because as the famous quote someone said, humans hate what they don't understand, so most races don't understand why people are all different, so they want to hate them since they don't understand and also get higher authority as well, but to get back to topic race is the most common thing today that encourages people to leave and migrate cause they might not feel welcome.
3 0
2 years ago
ANSWER THIS F-CKING QUESTION!
Masja [62]
The answer is c
Because
4 0
2 years ago
Read 2 more answers
all of the following are benefits to earning a college degree except A. better consumer decision making.B. job protection C. pay
Sloan [31]

Answer:

paying fewer taxes

Explanation:

6 0
3 years ago
Other questions:
  • A star begins in a(n) ___________________, a cloud of dust and gas.
    13·2 answers
  • Explain how gene expression shapes the phenotype of an individual.
    5·1 answer
  • If you want to transfer to a four-year institution what type of degree should you choose?
    8·1 answer
  • All of the activities of 4-H are related to agriculture today.<br> A. <br> True<br> B. <br> False
    15·1 answer
  • Which of the following best identifies the data for the Eastern Great Rift Valley, shown on the map? High arithmetic density Hig
    9·1 answer
  • Which option should you choose to send an email you've received to a new person? Reply All Reply Forward CC ​
    14·1 answer
  • H(x)=-2x+15<br> Solve for X
    14·1 answer
  • WILL GIVE BRANLYEST (IF RIGHT )Which sentence uses the wrong homophone?
    5·2 answers
  • Which of the changes below is NOT a violation of ceteris paribus when discussing demand for CD players?
    13·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!