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

Which of the following would most likely NOT be a topic for a haiku?
Greta has a piece of cloth that is 9 yards long. She cuts it into pieces that are each 1/3 yard long. How many pieces of cloth does Greta have now?
I need the answer can anyone help me with this ?
What is the area of a trapezoid that has bases measuring 19 cm and 23cm and a height of 14cm?
I need to shade more than 2/100 but less than 1/10
what is pi divided by 5/16 x 34 - 21?
What does cherry mean when she says bob wasn't just anyone?
What is a equivent fraction to 23/25 with a denominator of 100
Convert 12 7/12 to a common number
So comes it, lady, you have been mistook