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
Pax wants to make fruit punch for a party suing the recipe below
faust18 [17]

the answer should be d if my math is correct

7 0
2 years ago
Read 2 more answers
  <br> If you’re correct I’ll give u brainlist!!
SashulF [63]

Answer:

Alternate interior angles theorem

Step-by-step explanation:

Alternate interior angles theorem

4 0
2 years ago
Read 2 more answers
A survey of 80 students found that 24 students both play in the band and play a sport. But 22 students are not in
xenn [34]

Answer:d

Step-by-step explanation:

Got it right

4 0
3 years ago
The graph shows the amount of money paid when purchasing bags of candy at the zoo:
Nimfa-mama [501]

The cost of zero bags of candy .    

You are not going to  pay for no bags of candy  lol!!

8 0
2 years ago
Each of the faces (sides) has an area 66 square millimeters. Find the total surface area of the triangular pyramid.
Igoryamba
There are 4 faces on a triangular pyramid
so total surface area = 4 x area of each face = 4 x 66
= 264 sq mm
7 0
3 years ago
Other questions:
  • A quadrilateral has two angles that measure 120° and 140°. The other two angles are in a ratio of 2:3. What are the measures of
    15·1 answer
  • Tempestt graphs a function that has a maximum located at (-4, 2). Which could be her graph?
    14·1 answer
  • How to comparing 645 and 738 is different from comparing 645 and 649
    7·2 answers
  • find the surface are of a cylinder with a base diameter of 12 in and a height of 8 m use the value 3.14 for pi and do not do rou
    9·1 answer
  • Please help me !!!
    14·1 answer
  • Please help!!!! For each set of given points A, B, C, and D on a number line, find the distances AB, BC, AC, and BD: A(–3); B(5)
    10·1 answer
  • What is <br> (3xy-1) (4xy+2)
    15·2 answers
  • Find the x-intercept and y-interceppt of each graph
    5·1 answer
  • Is the quotient of any two nonzero integers, a and b, a rational number?
    9·1 answer
  • If P = (5,4), find the image of P under the following rotation. 90° counterclockwise about the origin ([?], [ ])​
    8·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!