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
kap26 [50]
3 years ago
5

Four int variables, x1, x2, y1, and y2, have been declared and been given values. write an expression whose value is the differe

nce between the larger of x1 and x2 and the smaller of y1 and y2.
Mathematics
1 answer:
Katen [24]3 years ago
7 0
Even though we are using variables, we still know that "difference" means subtraction. So, if the larger is x1 and x2, those variables go first. The smaller, y1 and y2 will go second. So our problem will look like this:

(x1 <  x2 ? x2 : x1) - (y1 < y2 ? y1 : y2)
You might be interested in
The number of tourists at the beach per weekend in July was 55,000, In November, the number of tourists per weekend was 18,000.
Ganezh [65]

Answer:

The percentage change from July to November is 67.27 %

Step-by-step explanation:

Given as :

The number of tourists at the beach per weekend in the month of July = x_1 = 55,000

The number of tourists at the beach per weekend in the month of November = x_2 = 18,000

Let the percentage change from July to November = A %

Or,  % decrease change = \dfrac{\tetxtrm new value - \textrm old value}{\textrm old value} × 100

So , A % = \dfrac{\tetxtrm [tex]x_2   - \textrm  x_1 }{\textrm  x_1 }[/tex] × 100

or, A % = \frac{55000 - 18000}{55000} × 100

Or, A % = \frac{37000}{55000} × 100

Or, A  = 67.27 %

So percentage change between two months = 67.27 %

Hence The percentage change from July to November is 67.27 % Answer

6 0
4 years ago
A parachutists rate during the freefall reaches 189 km/h. What is the rate in meters per second? At this rate how many meters wi
Lera25 [3.4K]
1 km = 1000m
1 hr = 3600 s

189 km/h
189 * 1000 / 3600 m/s
189*5/18 m/s
945/18 m/s
315/6 m/s
105/2 m/s
52.5 m/s

in 10 s
52.5*10
525 m
3 0
3 years ago
There are 22 paper clips in a draw 12 is gold an 10 are silver what fraction of the paper clip is gold?
yKpoI14uk [10]

Answer:

6/11

Step-by-step explanation:

there are 12 gold clips out of 22, so 12/22 and divide both sides by two to simplify.

7 0
3 years ago
What are the factors of 2(x^2+4x+21)
Keith_Richards [23]

Answer:

that equation isn't factorable

7 0
3 years ago
Could an average person lift the weight of​ $100 in​ dimes?
kolezko [41]
Yes. it would be only about 5 pounds
6 0
3 years ago
Read 2 more answers
Other questions:
  • Which of the following is the quotient of the rational expressions shown<br> below?
    7·1 answer
  • Distribute the following expression: 9(2g + 5)
    9·2 answers
  • !!!!!!!!!! please help
    13·1 answer
  • Winnie and pooh goes to the honey store to buy a case of honey for the winter.the case of 24 jars of honey cost $27.60.What is t
    6·2 answers
  • 5 + x = -2<br> I need work and answer!!!!
    13·2 answers
  • Which is a pair of equal expressions?
    8·2 answers
  • If you could answer any of these questions that would be great :}
    12·2 answers
  • Mar 12, 8:09:33 PM
    14·1 answer
  • [Image: A coordinate plane ranging from 5 to –5 counting by 1s.]
    12·1 answer
  • PLS HELP
    7·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!