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

Natalie picked 135 berries in 15 minutes. If she continues picking at that rate, how long will it take her to pick 486 berries?
Which of the following did NOT grow or increase as a result of early farming? villages trade life spans cities
Tasha believes that she can rewrite the diffrence 120 - 36 as a product of the GCF of the two numbers and another diffrence.Is she correct?
Rectangular classroom seats 72 students. If the seats were rearragned with 3 more seats rows in each row, the classroom would have 2 fewer rows. Find the origin
How does the saguaro cactus take advantage of rare, brief rainfall?
How do three planes intersect at one point?
Rectangular classroom seats 72 students. If the seats were rearragned with 3 more seats rows in each row, the classroom would have 2 fewer rows. Find the origin
how come some girls don't get period cramps?
how do you solve 4a/b divided by 2ac/b
The ocular and objective lenses are found at the top and bottom of what part of a microscope?