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
Trina's car uses 12 gallons of gas to travel 144 miles. If she has 6 gallons of gas in the tank, how much more gas will she need
PSYCHO15rus [73]

Answer: 14gallons

Step-by-step explanation:

12gallons/144miles = 1gallon/12miles

Therefore 6gallons = 12*6 = 72miles.

In order to cover 240miles, she will need 240/12 = 20gallons.

20-6 = 14gallons

She will need 14gallons of gas more.

3 0
3 years ago
PLS PLS PLS PLS HURRRRRRRRRYYYYYYYYYY
vovangra [49]

A. first you can translate the lines 4 squares down.

then reflect the figure on th y line.

(attention: the rotation cant be done.)

B. yes they are. although we translated and reflected the figure l, we did not make any kind of change in size

good luck

8 0
2 years ago
Read 2 more answers
What is the solution to the proportion? 5/x = 2/8 ( It's in fraction form lol)
ollegr [7]
If the goal of this question is to solve for x than the correct answer is 20. Hope this helped.
7 0
3 years ago
Read 2 more answers
Can someone help me figure out this
QveST [7]

Answer:

YES

Step-by-step explanation:

The criterion for formation of a triangle is that the sum of any 2 sides should be greater than or equal to the third side

So, we will test it for all 3 sides

7.4 + 12.5 ≥ 19.9

TRUE

12.5 + 19.9 ≥ 7.4

TRUE

7.4 + 19.9 ≥ 12.5

TRUE

Therefore, the segments with the sides: 7.4 , 12.5 and 19.9 do form a triangle

4 0
3 years ago
Read 2 more answers
What is the area of the figure?
Orlov [11]

Answer:

  90 in²

Step-by-step explanation:

The figure's area is that of four right triangles, each with legs of 6 in and 7.5 in. The area of each triangle is half the product of the leg lengths, so is ...

  triangle area = (1/2)(6 in)(7.5 in)

Then the area of 4 of those triangles is ...

  figure area = 4 · triangle area = 2(6 in)(7.5 in) = 90 in²

8 0
3 years ago
Other questions:
  • Based on what you know about travelogues and Marco Polo's life, what is the best prediction for the purpose of
    12·2 answers
  • Your initial investment of $20,000 doubles after 10 years. If
    10·1 answer
  • A square has of 30 square meters and a perimeter of 34 meters. what ate the dimensions of the rectangle?
    6·1 answer
  • Help me please I will UPVOT
    9·2 answers
  • One of your employees has suggested that your company develop a new product. You decide to take a random sample of your customer
    8·1 answer
  • Coras kitten weighs 1200 grams if he weighed 550 grams at the visit to the veteranarians office, what is thepecent increase in t
    12·1 answer
  • Which is the least valid way to stimulate how many boys and girls are in a random sample of 20 students from a school that is ha
    5·2 answers
  • What’s the graph for the equation
    8·1 answer
  • Simplify (48)2<br> HURRY
    6·2 answers
  • What is the volume of the figure?
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!