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

Plz help me i will make brainliest
Help me!!~ :( Which is the main way plays develop characters? (1 point) a. Description b. Dialogue c. Exposition d. Setting
What name was given to Vladimir Lenin's attempt to rebuild the soviet economy after the war between the reds and whites
Plzzz helpp!!!!! . . . . . . . . .
Please help answer this question thanks
a python program for the following output using for loop.Output:-13-7-1
HELPPPPP I ONLY HAVE ONE ATTEMPT
11. 4x+7/15 = 6x+2/10​
What caused the economic collapse of Germany following the Treaty of Versailles? A The treaty devalued German currency B The treaty required Germany to pay war
Someone please help me asap!!! I need serious answers please explain! I will give brainliest!!