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
Mama L [17]
3 years ago
8

Consider the following code segment. int x = 5; int y = 6; /* missing code */ z = (x + y) / 2; Which of the following can be use

d to replace /* missing code */ so that the code segment will compile? I.int z = 0; II.int z; III.boolean z = false;
Mathematics
1 answer:
Murrr4er [49]3 years ago
8 0

Answer:

II. int z;

Step-by-step explanation:

int z;

is the best option, because on the next line you will define the variable as

z = (x + y) / 2;

you can also use int z=0; but it is not necessary according to the code segment given.

You might be interested in
Please help me i have to finnish this!!!
sleet_krkn [62]

Answer:

488

Step-by-step explanation:

  1. 6x^{2}  + 2 = 0
  2. replace x = -9 => 6 x (-9)^2 + 2  = 488  
8 0
3 years ago
HELP ASAP HELP ASAP!!!!!!!!!
fomenos
It says to round to the nearest whole number so it would be A. or D. In the end It would be D. because 22.73 is closer to 23 then 22.
4 0
4 years ago
Read 2 more answers
Who can help me with this question please can you explain it to me please
Tresset [83]

Answer:

asdddasdasdas

Step-by-step explanation:

adsssdddddddddasdssadasdasdasdadsadsa

3 0
3 years ago
12a^-4b^4c^5/3a^6b^-2c^2 =
ollegr [7]
Download Photomath. Answers every question by taking a pic of the problem! Hope this helps
5 0
3 years ago
If (5-3i)(x+iy)/(4-5i) = (2+i)^2-(3-4i)^2, then x=___ and y=____
Leona [35]
This looks complicated

lets simplify both sides

By multiplying top and bottom by the conjugate:-

left side  =  (5-3i)(x + iy) (4+5i)          (5-3i)(x + iy) (4+5i) 
                  ------------------------   =      ------------------------
                        (4-5i)(4+5i)                           41

right side =  (2 + i + 3-4)(2+i - 3 + 4i)    (by  Difference of 2 squares)

               =  5-3i)(-1 + 4i)

so as left side = right side

(5-3i)(x+yi)(4+5i)   = 41 (5-3i)(-1+5i)

5-3i is common so:-

(x + iy)(4+5i) = 41(-1+5i)

4x +5xi + 4yi - 5y = -41 + 205i

4x - 5y + (5x + 4y)i = -41 + 205i

EQuating coefficients we are left with the system of equations

4x -  5y = -41
5x + 4y  = 205

solving this gives x = 21 and y = 25


8 0
3 years ago
Other questions:
  • Evaluate v(x) = 12 - 2x - 5 when x = -2,0. and 5.
    11·1 answer
  • What integer can be represented by 16 positive tiles and 26 negative tiles? (A) 10 (B) -10 (C) -6 (D) 42
    10·1 answer
  • How do you solve this equation 5b-0.7=6b
    7·2 answers
  • Which point satisfies the system of equations y = 3x − 2 and y = -2x + 3?
    9·1 answer
  • Hey guys i am alexa luna i want to add nice friends that are hot in questions so add me here
    10·2 answers
  • Antwan drew the circle graph below
    14·1 answer
  • Which of these nets would fold up into a box WITHOUT a top? <br> pls help
    8·1 answer
  • Write the equation in point-slope form that represents the graphed line.
    9·1 answer
  • What is the simplest form of 180/200​
    11·2 answers
  • Divide 85/10 and 11/6​
    8·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!