dbsoloplayswowowkzsn dbsoloplayswowowkzsn
  • 01-07-2019
  • Advanced Placement (AP)
contestada

Given the following code segment,

int x = 14;
int y = 8;

what is the data type of the value of the expression (x / y)?

int
double
numeric
Error: possible loss of precision
Unable to be determined

Respuesta :

dmolnar2022 dmolnar2022
  • 04-07-2019

Answer:

int

Explanation:

if both variables are integers than there is no way for the data type to change.

Answer Link

Otras preguntas

What is the product of x(x+1)
which expression used the commutative property to make it easier to evaluate (-3/4) x 1/5 x (-16)
Which of these inferences is most strongly supported by the text below?
a balance in an organism's access to the resources it need may make its life.............​
In which step of cellular respiration is oxygen consumption significant?
What effect is achieved by the repetition of the line "Fallen cold and dead" at the end of each of these stanzas? A) It underscores that hope can come from loss
You want to buy 3 books that are 20% off. The original prices of the books are $8.50, $2.95, and $7.00. How much will you save? Solve with distribution and wit
how do you find the number of isotopes in an element?
Ms. Goswami is 64 inches tall. About how many feet tall is Ms. Goswami? (1 foot = 12 inches)
A toy car with a mass of 3.1 kg has 60 J of kinetic energy as it drives along the straight part of a racetrack. What is the velocity of the car?