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 inequality models this problem? reiko started a business selling home medical supplies. she spent $6500 to obtain her merchandise, and it costs her $550 p
two trapezoid together to make a hexagon what was the perimeter of the hexagon pete made. explain how you know
what is one of the key features of blank verse?
Which movement in the 1800's stressed the reduction or banning of consuming alcoholic beverages? A; suffrage movement B; abolitionist movement C; temperance mov
write 6 1/4% as a decimal
Verify the identity. cot^2x/ cscx-1 = 1+sinx/sinx
Sally is 2 years older than three times jim’s age. jim is 4 years old. how old is sally? 6 10 12 14
What is culture to you
Which artist sculpted a nude bronze statue of the biblical hero David? A. Donatello B. Leonardo C. Michelangelo D. Raphael
who are the people who collect ancient artifacts to learn about ancient people.