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
Answer the following in several complete sentences: In what ways might personality development differ between collectivist and i
Vera_Pavlovna [14]

Answer:

In collectivistic cultures, people are considered "good" if they are generous, helpful, dependable, and attentive to the needs of others. This contrasts with individualistic cultures, which often place a greater emphasis on characteristics such as assertiveness and independence.

5 0
2 years ago
If the price of papayas increases from $1.00 each to $1.25, will this cause a change in demand or quantity demanded?
enyata [817]
It will cause a change in the quantity demanded. There will be the same demand, but if the price goes up less people will buy the papayas.
3 0
2 years ago
Help With This Please!
Helen [10]
Crossroads, a sad vaudeville by Carlos Solorzano who comes from Guatemala. The quote relates to how the woman learn about how the man is looking for a young and beautiful girl like in the picture he has. When the woman realizes the man doesn't recognize her when she lifts her veil -despite having given him hints that she was the woman in the picture- she learns she can never be the woman in the picture so she leaves.
7 0
3 years ago
U.S. foreign policy shifted away from (BLANK) to international involvement.
suter [353]

Answer:

Isolationism

Explanation:

In the 19th century, the United States under the administration of George Washington established a policy to isolate itself from intervening in foreign wars. There were deliberations as to whether the United States will join the League of Nations and interfere in wars. This policy was a result of the economic crisis faced by the United States at that time and there was a need to focus on the problems than getting involved in foreign affairs. Thomas Woodrow Wilson assuming power as the President of the United States, also maintained that stance as he urged the United States not to involve in wars.

Wilson changed his mind after he realized the war in Europe will most likely extend to the Atlantic Ocean. The number of people killed in the war also propelled the intervention of the United States. Its strong alliance in maintaining peace and stability in all states was also a key factor. With this intervention in the World War, the United States assumed the status of World power.

5 0
3 years ago
What do scientists measure for forces?
Delicious77 [7]

The scientists need to measure for forces are magnitude and direction.

<h3>What is Force?</h3>

The force is defined as the external effort applied in the form of push or pull to cause the acceleration of a body.

Mathematically it is expressed as the product of mass and acceleration of an object.

therefore standard expression for the force as per Newton's second law is given as,

F = ma

Here,

m is the mass of the body.

a is the magnitude of the acceleration of the body.

Also, the force is a vector quantity that has significance for its magnitude as well as the direction.

So scientific analysis regarding the force needs its magnitude along with the direction of application.

Thus,The scientists need to measure for forces are magnitude and direction.

Learn more about Newton's second law here:

brainly.com/question/23845187

#SPJ2

6 0
1 year ago
Read 2 more answers
Other questions:
  • What role does gravity play in the formation of a new star​
    12·2 answers
  • If a radio station airs a conservative commentator’s critique of a liberal author and does not allow the author an opportunity t
    14·1 answer
  • What role did trade play in the spread of islam
    10·1 answer
  • Why do boys hate me so much??? I just want to know.
    15·2 answers
  • When two neurons are activated at the same time, the connection between them will increase; this is called
    15·1 answer
  • All of the following except ____________ are possible side effects of stigmas associated with mental disorders.
    15·2 answers
  • Population <br><br>what is the total population of Nepal ​
    9·2 answers
  • A school of fish would be an example of<br> what type of population distribution?
    8·1 answer
  • A. Piliin sa kolumn B ang mga salita na inilalarawan sa KolumnA. Isulat ang titik ng tamang sagot.
    5·1 answer
  • if I want to become a doctor in the future. which program for high school is best, Advanced placement (ap) or International Bacc
    11·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!