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
ycow [4]
3 years ago
13

What output will be displayed as a result of executing the following code? int x = 5, y = 20; x += 32; y /= 4; System.out.printl

n("x = " + x + ", y = " + y);
Mathematics
1 answer:
Debora [2.8K]3 years ago
3 0

Answer: x = 37,y=5

Step-by-step explanation:

from the initial x is 5 and y is 20

but now the values are updated:

x+=32

x=x+32

x=5+32

x=37

so now x is 37

y/=4

y=y/4

y=20/4

y=5

so now y is 5

the out put will be:

x = 37,y=5

You might be interested in
You are doing annual inventory at the hardware store where you work. A box filled with brass connectors weighs 5 pounds 4 ounces
Georgia [21]

Answer:

304 brass connectors.

Step-by-step explanation:

We have been given that a box filled with brass connectors weighs 5 pounds 4 ounces. The box weighs 8 ounces when empty, and each connector weighs 0.25 ounces.  

Since we know that 1 pound equals to 16 ounces.Let us convert weight of box filled with brass connectors from pounds to ounces.

(5*16)+4=80+4=84

Now we will find weight of brass connectors by subtracting weight of empty box from weight of filled box.

84-8=76

Let us divide 76 by 0.25 to find number of brass connectors in the box.

\text{ Number of brass connectors in the box}=\frac{76}{0.25}

\text{ Number of brass connectors in the box}=304

Therefore, there are 304 connectors in the box.  


6 0
4 years ago
How much time has passed?<br> Start time: 1:50 p.m.<br> End time: 4:40 p.m.
Romashka-Z-Leto [24]

Answer:

2 hours and 10 minutes

Step-by-step explanation:

Sorry it took a while...

Hope this helped! :)

8 0
3 years ago
9a - b - 2a - 10b<br> Trying to get this but seem to not to be able any help
SpyIntel [72]
=7a−11b is the answer
3 0
3 years ago
What is 50 percent of 44?
Nataly [62]

Answer:

50 % of 44

= 50/100 × 44

= 1/2 × 44

= 44/2

= 22

4 0
3 years ago
The length of a rectangle is twice its width. The perimeter is 60 ft. Find its area.In the form of a paragraph, explain in compl
Vika [28.1K]

Set the following: Length = L    Width = W

The length is twice the width:    L = 2*W     or:  W = L/2

Perimeter: P = 60ft = 2*L + 2*W

Substituting L for W in the perimeter equation gives:

P = 60ft = 2*L + 2*(L/2) = 2*L + L = 3L

L = 60ft/3 = 20ft    W=L/2=20ft/2=10ft

Verify result:  Perimeter= P = 60ft = 2L + 2W = 2*20ft +2*10ft = 40ft+20ft = 60ft

The area of the rectangular is: Area = A = Length*Width = L*W = 20ft*10ft = 200 (ft)^2

-Mabel <3

7 0
3 years ago
Other questions:
  • 2.<br> If y = V9 – 3x, determine the value of x for which y will be a real number.
    12·1 answer
  • A class has 18 students. The teacher asks how many students in the class have pets and finds 5/9 of the students have pets. How
    13·1 answer
  • Help asap need this answer
    6·1 answer
  • PLS EXPLAIN <br><br> solve the equation. <br><br> 3/7x + 5 = 8
    7·2 answers
  • The formula A = P + I shows that the total amount of money A received from an investment equals the principal P (the original am
    15·1 answer
  • Find the length of an arc of 40 degrees in a circle with an 8 inch radius
    15·1 answer
  • Can you help me with this questions?​
    6·1 answer
  • Write a rational expression equivalent to (x-3) where the numerator is a quadratic expression written in expanded form.
    11·1 answer
  • A rabbit hopped down the street, the street was 90 yards long and he did it in 9 seconds, what was his average speed?
    5·1 answer
  • 2 + 2 = ? <br>1 + 1 = ? <br>6 - 3 = ? <br>​
    5·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!