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

You plant 40 seeds of a certain flower and 26 of them sprout. Find the experimental probability
The 12.2-m crane weighs 18 kn and is lifting a 67-kn load. the hoisting cable (tension t1) passes over a pulley at the top of the crane and attaches to an elect
help please need the answer
who created the architectural masterpiece shown here a) brunelleschi b) albrecht dürer c) ghiberti d) hans holtbein
Josh rides his bike along a 9 mile trail. There are trail markers every 1/3 mile. The marker starts at 1/3 mile and ends at 9 miles
Why are human and angel relationships bad?
How did European colonization affect American Indians
What did russians drink before potatoes/vodka?
Which linear equation represents a non-proportional relationship? A) y = 1.5x B) y = x + 3 C) y = 4 5 x D) y = −3x
How do staphyllococci cause human disease review?