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

Classify the factors as (Abiotic) or (Biotic).sunlighttemperaturetreemicroorganismsoilanimal
Was Woodrow Wilson a democrat or republican?
One tenth of a line measures 5.5cm. Find the total length
Which of the following statements is true? The boiling and condensation points of a substance are the same. The melting and boiling points of a substance are th
Why is using slang not appropriate in a business setting?
What is the slope of the line represented by the equation y =-1/2x + 1/4?
Gold alloys are _____.
Tracy has a cell phone plan that provides 250 free minutes each month for a flat rate of $29. For any minute of 250, Tracy is charged $0.35 per minute. Which of
Is the language in the following passage formal or informal? He's a cool, hardworking guy. He’s just going full tilt with all the painting and repair on that ol
What does the equal sign with a line through it mean?