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
Which characteristic became a strength for the Assyrian Empire?
jenyasd209 [6]

Answer:

C: The Assyrians became skilled warriors and invented of the battering ram.

Explanation:

The Assyrians were outstanding combatants. They had iron weapons and were amazing engineers. Assyrians had a fully equipped and professional standing army and were ruthless in battle which will later lead to their downfall. They also invented the battering ram and many military tactics that helped them expand their empire at a quicker pace.

5 0
3 years ago
In this assignment, you will select a type of anxiety disorder to research. Then, you will complete your
neonofarm [45]

Answer:

Generalized Anxiety Disorder.

Explanation:

Generalized Anxiety Disorder is a type of anxiety disorder that is characterized by excessive worry about a number of different things. People with GAD may expect disaster and may be greatly concerned about money, health, family, work, and other issues in their lives. Individuals having Generalized Anxiety Disorder (GAD) difficult to control their worry. This disorder can be cured by giving the  treatment of Cognitive behavioral therapy.

6 0
3 years ago
Suppose that IQ scores have a bell shaped distribution with a mean of 98 and standard deviation of 13. Using the empirical rule,
inn [45]
Yaya says:
 IQ Scores have a bell-shaped distribution with a mean of 100 and a standard deviation of 15. What percentage of IQ scores are between 70 and 130?

<span>Solution: </span>130 – 100 = 30 which is 2(15). Thus, 130 is 2 standard deviations to the right of the mean. 100 – 70 = 30 which is 2(15). Thus, 70 is 2 standard deviations to the left of the mean. Since 70 to 130 is within 2 standard deviations of the mean, we know that <span>about 95% of the IQ scores would be between 70 and 130.</span>

5 0
3 years ago
The length of one side of a square pond is 15 feet. The pond is surrounded by a 3 foot wile walkway What is the boundareas of th
Nesterboy [21]

Answer:

15

Explanation:

ok so you deserve to know each other's

4 0
3 years ago
Which of the following is the best reason for researching and comparing colleges’ curricula before making a final decision?
Burka [1]
B. To see which one offers academic programs that best fit your goals.
7 0
3 years ago
Read 2 more answers
Other questions:
  • Which of the following is not considered full body protection
    13·2 answers
  • How would you describe environmental possiblism
    13·1 answer
  • Kaelon believes that most people cannot be trusted. More than not, individuals he has relied on in the past have
    9·2 answers
  • Can anyone help me review a essay i just wrote
    9·1 answer
  • 13.   When using direct quotations in your writing, which of the following should be placed outside the set of quotation marks? 
    8·1 answer
  • The roots of the function f(x) = x^2 - 2x - 3 are shown. What is the missing number?
    10·1 answer
  • Jill decides to study for her biology final exam by studying for 20 minutes each day for the next three weeks, as opposed to stu
    11·1 answer
  • The vast majority of people in Israel and Palestine are strongly opposed to a two-state system.
    6·1 answer
  • What statement is accurate in regards to sharing workbook?
    12·1 answer
  • My coworker wants me to take her on a date should I?
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!