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
Which area on the map benefited MOST from the space program? A) 1 B) 2 C) 3 D) 4 PLSS I NEED A 100!!!!!!! HURRY :[
ozzi

Answer:

wheres the pic

Step-by-step explanation:

5 0
3 years ago
Read 2 more answers
Find the value of x in the triangle shown below 2 10
OlgaM077 [116]

Answer:

the answer is A

Step-by-step explanation:

the Pythagorean theorem is a squared + b squared = c squared (c always being the hypotenuse and a and b being the legs. 2 (4) squared pus 10 (100) squared=104 then you would use the square root of 104. 104 does not have a whole number square so the answer is  \sqrt{104\\

5 0
3 years ago
Read 2 more answers
Not sure if it is hyperbola or hyperbole.
Juliette [100K]

Answer:

obviously it's always gonna be hyperbola lol

7 0
3 years ago
Read 2 more answers
Can anyone help me with this one please
bulgar [2K]
A. 314 sq cm

Explanation: pi•r^2
3.14 x 10^2
3.14 x 100 =314
7 0
3 years ago
HELPPPPPPPPPPP!!!!!!!!!!!!!
Anastaziya [24]
The answer is 82% so yeah
8 0
3 years ago
Other questions:
  • What percent of 145 is 52.2
    8·1 answer
  • Ian tosses a bone up in the air for his dog, Spot. The height, h, in feet, that Spot is above the ground at the time t seconds a
    14·1 answer
  • 25x+50+5x how do I solve for x
    9·1 answer
  • Which statements accurately describe the function f(x) = 3(16)^3/4 ? ​
    9·1 answer
  • The perimeter of a rectangle playground is 40 yards it is 1 1/2 yards longer than it’s Wide what is the area of the playground
    15·1 answer
  • Find three different irrational numbers between the rational numbers 0.13 and 0.14
    9·2 answers
  • Which symbol makes the sentence true?<br><br><br><br> − 5 over 12 square − 2 over 5
    12·1 answer
  • Marcus states that angle ORP and angle LRP are a linear pair. Which best describes his statement?
    8·1 answer
  • Find the volume of this problem
    9·1 answer
  • Salma made $143 for 11 hours of work. How much for 8 hours of work?
    6·2 answers
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!