Answer :
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.
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.