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
Help me with the question of O.math​
Mashutka [201]

Answer:

24

Step-by-step explanation:

2*1+1+2*2+1+2*3+1+2*4+1=24

6 0
3 years ago
5(10k+1)+2(2+8k) simplify
iVinArrow [24]
Firstly expand it: 50k + 5 + 4 + 16k
Collect like terms: (50k + 16K) + (5 + 4)
Simplify: 66k + 9.
4 0
3 years ago
Jana needs new school clothes. She decides to buy 4 shirts for 15$ each and 2 pairs of pants for 35$ each. if the sales tax is 8
bija089 [108]

Answer:

15$+35$+8.25$=58.25

so the total of bill for Jana's new clothes is 58.25

5 0
3 years ago
Find the distance between points A and C round to the nearest tenth.
Taya2010 [7]

Well the first thing that came to my mind was to do rise/run and doing that I got 6/5 which I added together to get 11 but since that's obviously not correct I assumed it was a little under so the answer I got was 7.8

Really hope this helps!

6 0
3 years ago
I need help solving this
Kruka [31]

Answer: y = -x + 5

Step-by-step explanation:

      A slope-intercept equation is in the form y = <em>m</em>x + <em>b</em> where <em>m</em> is the slope and <em>b</em> is the <em>y</em>-intercept. Since we are given the slope, we will plug it in with the point they gave us, and solve for <em>b</em>.

y = <em>m</em>x + <em>b</em>

(1) = (-1)(4) + <em>b</em>

1 = -4 + b

5 = b

      Lastly, we will write our equation by substituting <em>m</em> with -1 and <em>b</em> with 5.

y = <em>m</em>x + <em>b</em>

y = -1x + 5 or y = -x + 5

<em>    Read more about </em><em>slope-intercept equations</em><em> here:</em>

<em>brainly.com/question/27497166</em>

6 0
2 years ago
Other questions:
  • How to simplify radicals into simplest radical form?
    11·1 answer
  • Suppose your friend's parents invest $25,000 in an account paying 5% compounded anually. What will be the balance be after 9 yea
    14·2 answers
  • What is the range of the following data 7, 5, 9, 10, 1, 2, 2, 8 ​
    10·2 answers
  • Heights of adult males are normally distrubed. If a large sample of heights of adult males is randomly selected and the heights
    10·1 answer
  • What is the volume of this figure in cubic inches? <br> a. 32<br> b. 256<br> c. 416 <br> d. 7.680
    6·1 answer
  • Can you help me pl3s
    10·1 answer
  • What is the the slope of the line through (2, -2) and (9, 3)
    12·2 answers
  • Please help I will give brainliest, and everything else!!!!! Use the distributive property to find the value. (5y + 2 )8
    14·2 answers
  • Solve for : 6−11−13&lt;7−5
    7·1 answer
  • Solve each equation for the indicated variable. Solve for pi.
    6·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!