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
How to solve complex number problem is x square + 2x +65=0
ad-work [718]
Ill teach you how to do some of these things so you won't be having to use this site 
7 0
3 years ago
Which represents the probability (p) of a given chance event occurring? A) p &gt; 0 B) p = 1 C) 0 &lt; p &lt; 1 D) 0 ≤ p ≤ 1
elixir [45]

Answer:

D) 0 ≤ p ≤ 1

Probability is 0 when there's no chance of occurrence

Probability is 1 when the event is certain to happen

5 0
3 years ago
Read 2 more answers
Tell whether this statement is sometimes, always, or never true. Identify the answer with a sketch. If B is a point between A an
Ksivusya [100]
The statement is always true
7 0
3 years ago
A number is the 1/5 of another number. The sum of both is equal to 78. Which is the highest number out of both numbers?
Reika [66]
D.

1/5 of 65 is

65 × 1 / 5
65 / 5
= 13

65 and 13 add up to 78.

65 is the highest number out of both numbers.


♧
4 0
3 years ago
35.7÷11.4≈<br>(brainiest included for correct answer)(if not report)​
DiKsa [7]

Answer:

Step-by-step explanation:

about 3

4 0
3 years ago
Other questions:
  • Explain why you should record a 1 in the tens when you regroup in an addition problem
    14·2 answers
  • Jana is prescribed 250 mg of medication. Seventy-five percent of the medication remains in her body after each hour, h, accordin
    8·2 answers
  • Kim estimates that the faucet in her kitchen drips at a rate of 1 drop every 2 seconds. Erik wants to know how many times the fa
    7·1 answer
  • From 1980 to 1990, the consumer price index (CPI) increased from 82.4 to 130.7. If a gallon of apple juice cost $0.95 in 1980 an
    9·2 answers
  • I NEED A EXPLAINATION
    13·1 answer
  • Five consecutive two-digit positive integers, each less than 30, are not prime. What is the largest of these five integers?
    13·2 answers
  • (2.88 10^4) x ( 4x10^5)
    11·2 answers
  • Please help will give brainliest if you answer correct
    8·1 answer
  • Please Help!!!<br><br> What method would allow you find the area of the given triangle?
    8·1 answer
  • To make a certain shade of orange calvin uses a rate of 2 ounces of yellow paint to 5 ounces of red paint if he uses 200 ounces
    15·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!