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
Which shows the graph of the solution set of 3y – 2x &gt; –18?
Shkiper50 [21]
Graph 3y-2x=-18
hmm, ok, x intercept is at y=0 and x=9 so the point (9,0)
y intercept is at x=0 and y=-6 so (0,-6)

all the graphs hit that

ok, so we have 3y-2x>-18
it is > and not ≥ so it is a dotted line
it is one of the first 2

ok, test points
(0,0)
0>-18?
true
so (0,0) is in it

so it is the 2nd one
8 0
3 years ago
Read 2 more answers
Trey needs to estimate 678 + 395. He adds 678 and 395 and gets 1073. He rounds that to the nearest hundred to get 1100. What was
mina [271]

Answer:

A).

Step-by-step explanation:

There are no decimals so it cannot be option c or d

Hope this helps

5 0
3 years ago
Read 2 more answers
What's the correct answer to this? Please help..
Zepler [3.9K]

Answer: C

Step-by-step explanation:

Simplify(Subtract 2)

x > 0

Greater than is represented by a open circle with an arrow pointing right.  Because x is greater than <u>0</u>, the point must be on 0.

Hope it helps <3

8 0
3 years ago
Read 2 more answers
While taking inventory at her pastry shop, Aisha realizes that she had 1/4 of a box of baking powder yesterday, but the supply i
Verdich [7]

Answer:

1/12

Step-by-step explanation:

\frac{1}{4} - \frac{1}{6}

\frac{6 - 4}{24}

\frac{2}{24}

Converting to its simplest form, divide numerator and denominator by 2 = 1/12

8 0
3 years ago
The radius of the circle above is 3 in. What is the circumference of the circle? (Use = 3.14.)
Naddik [55]

Answer:

18.84  in

Step-by-step explanation:

C= 2(pi)r

c= 2(3.14)(3)

c=18.84 in

8 0
3 years ago
Other questions:
  • 78/14 Between which two consecutive whole numbers does this value lie? Enter your numbers in the box
    11·1 answer
  • Type the correct answer in the box. Use numerals instead of words. If necessary, use / for the fraction bar.
    15·1 answer
  • The population of a city Increased from 22,700 to 26,300 between 2004 and 2010. Find the change
    6·1 answer
  • PLEASE HELP 10 POINTS AND BRAINLIEST! EXPLAIN HOW YOU KNOW!
    12·1 answer
  • What is the area of this parallelogram?
    6·1 answer
  • Why is it important to describe the variable in an expression?
    15·2 answers
  • In a hotdog eating contest James can eat 15 hotdogs in 8 minutes. To the nearest whole hotdog, how many could he eat in 25 minut
    8·2 answers
  • If (126)n=86in base 10find the positive value of n
    6·1 answer
  • The student scored 25 points out of 45. What was their percentage (grade)?
    13·1 answer
  • 1. -2x - 5x + 3; x = 4<br> What is the answer
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!