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
Was westward expansion the most important issue for the US as a new country?​
irinina [24]

Answer:

Why was the westward expansion important?

Explanation:

To Jefferson, westward expansion was the key to the nation's health: He believed that a republic depended on an independent, virtuous citizenry for its survival, and that independence and virtue went hand in hand with land ownership, especially the ownership of small farms.

6 0
3 years ago
I love Brainly........ who every replies ill give 5pts to :)
STatiana [176]

Answer:

yep, same

Explanation:

:-)

6 0
3 years ago
Read 2 more answers
Which of the following is NOT one of the text's categories of stressors?
Rudik [331]
Daily hassles. they aren’t as important/ affective than the others are..
7 0
3 years ago
Write any five sector wise profession​
Anna11 [10]

Answer:

The Top 5 Most Trusted Professions

The Most Trusted Professions.

1. Firefighters. ...

2. Teachers. ...

3. Doctors/Nurses. ...

4. Postal Workers. ...

5. Armed Forces. ...

And Among the Least Trusted Professions …

Attorneys.

Explanation:

I hope it will help

Please mark me as brainlist

8 0
4 years ago
What is Mickey's class rank if he has the 40th best GPA in his class of 600?
evablogger [386]
OK so basically you answered your question if he has the 40th best he will be 40th out of 600

4 0
3 years ago
Other questions:
  • In his research, Dr. Caulfield wants to compare levels of test anxiety among high school students in grades 10 and 12. His hypot
    14·2 answers
  • What were the primary purpose of state militias?
    8·2 answers
  • Kssssssssssssskkkkkkkkkkkkkkkk
    7·1 answer
  • Which BEST describes the ratio of male births to female births in China today? It is controlled by the government. It is much hi
    7·1 answer
  • Mga napapakinabangan sa panahon ng bato at panahon ng panahon ng metal
    9·2 answers
  • Which job in the Finance career cluster is ideal for a person with a master’s degree?
    14·2 answers
  • 4) Create a scatterplot that reflects the data in the table. (5 POINTS)
    9·1 answer
  • From the book Styx malone
    6·2 answers
  • 22 out of 23 pairs of chromosomes are called
    5·1 answer
  • Does low points mean low work or am i outbid by to many questions per point ratio​
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!