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
The endpoints of a line segment are at the coordinates (–6, 3, 4) and (4, –1, 2). What is the midpoint of the segment?
natulia [17]

Answer:

( - 1,1,3 )

Step-by-step explanation:

Use the midpoint formula:

(\frac{x_1+x_2}{2},\frac{y_1+y_2}{2}, \frac{z_1+z_2}{2} )

We want to find the midpoint of the line

that has endpoints.

(\frac{ - 6+4}{2},\frac{3+ - 1}{2}, \frac{4+2}{2} )

We simplify to get;

(\frac{ - 2}{2},\frac{2}{2}, \frac{6}{2} )

This finally gives:

( - 1,1,3 )

The correct answer is A.

7 0
3 years ago
I will give branliest to the person who answers this right: 30 - 12÷3×2 =
romanna [79]

Answer:

22

Step-by-step explanation:

brainliest?

4 0
3 years ago
Read 2 more answers
What are 3 isosceles triangles?​
Maslowich
The answer is acute, right, and ontuse
6 0
3 years ago
In science class, students are learning about organic compounds. An acetic acid molecule is made of 2 carbon atoms, 2 oxygen ato
disa [49]

Answer:

hi sorry i just want points YOSHIII :3

Step-by-step explanation:

8 0
3 years ago
HELP 2 GEOMETRY questions
LuckyWell [14K]

Answer:

72

Step-by-step explanation:

i thinkkkk im on this unit too in geometry

3 0
2 years ago
Other questions:
  • If a dozen chicken eggs costs $1.50 how much would 4 eggs cost?
    9·2 answers
  • Can you guys help please with all of the questions please
    11·1 answer
  • 3 TIMES BLANK EQUALS 25.2 what does blank equal
    14·2 answers
  • A circle has an area of 36pi square inches. Find the radius
    8·1 answer
  • Ashby ate a lot for thanksgiving dinner.he decided to go on a long run. He ran 6 miles in 57 minutes.how long did it take him to
    9·1 answer
  • How to solve P=144p over y for p
    12·1 answer
  • What is p to the power of 5 divided by p to the power of 2 equal
    11·1 answer
  • What is the value of -6 1/2 x 1 1/4
    5·2 answers
  • What is the area of the semicircle?
    8·2 answers
  • The half-life of a radioactive kind of neptunium is 2 days. If you start with 736 grams of it, how much will be left after 6 day
    12·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!