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
Consider the cladogram. Which is the best description of the two organisms highlighted in pink? They are separated by two nodes.
AveGali [126]

Hello. You forgot to attach the cladogram. The cladogram is attached below.

Answer:

They share a recent common ancestor.

Explanation:

The cladogram is a diagram widely used to show the relationship between the different taxes that make up the species. Using this diagram it is possible to observe the ancestry and biological evolution of living beings over the years.

Each line in the cadogram represents a living being, or a taxon that gave rise to other lines, that is, it gave rise to other living beings. In this case, in the cladogram below we can see that the two organisms highlighted in pink, have lines that originate from the same line, which shows that these organisms share the same ancestor.

8 0
3 years ago
Read 2 more answers
Where no specific standards apply to a workplace situation, employers must follow the ____________.
azamat
How am i sapposed to answer this with no words to go in the spot to pick from 

8 0
3 years ago
Why is the claim that Mandarin is China’s national language a bit misleading?
Kitty [74]

Answer:

How did Mandarin become the official language? All of the official spoken languages were once dialects. Mandarin was one of the 10 major dialects in China and it officially became the national language for China in 1911 after Dr. Sun Yat Sen overthrew the Qing Dynasty.

7 0
3 years ago
Your carbon footprint is the amount of carbon dioxide released into the air because of your own energy needs. You need transport
Reil [10]

Answer:

D)People can decrease their carbon footprints by reducing the amount of energy they use.

Explanation:

just did it on edg 2020

7 0
3 years ago
Read 2 more answers
The pegboard system can be described as?
allsm [11]
A recording system using a pegboard to increase daily productivity with transactions; also referred to a one-write system.
7 0
3 years ago
Other questions:
  • What entity whether CLEP credits are awarded and how many ?
    11·2 answers
  • Does the 14th amendment apply outside the country?
    5·2 answers
  • Dccsddjjjjjjjjjjjjjjjjjjjjjjjjjjjjj
    11·2 answers
  • Terry has fraternal twins, Nathan and Natalie. Even though they are the same age, he knows that Nathan will enter a growth spurt
    15·2 answers
  • Which three types of electromagnetic waves have longer wavelengths than the waves that make up visible light?
    15·2 answers
  • Someone else wanna put their selfie ?
    11·2 answers
  • Paano na mayani ang kabihasnang maya noong 300 c.e.at 700 c.e?​
    10·1 answer
  • At its current level of output, a firm’s total revenue is greater than its total variable cost but less than its total cost. If
    15·1 answer
  • Isaisip Panuto: Pumili ng salita sa loob ng kahon para mabuo ang bawat pahayag. Sulu mangangalakal Mindanao Tuan Masha'ika Param
    6·1 answer
  • Adverse impact (Al) is a test characteristic where differential outcomes vary as a function of a protected-class status variable
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!