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

How many numbers are equal to the sum of two odd, one digit numbers?
What was important about the battle of the bulge?
What is the conversion factor to convert cups to liters?
13.   Since the desert air was so dry, the bread quickly turned stale. In this sentence, which word serves as a clue that there is cause and effect?        A
Plants are photoautotrophs. what does this mean?
What is your understanding of figurative language? Understanding figurative language requires uncovering its denotative meaning. Understanding figurative langu
Which line of poetry uses assonance? A. While I pondered, weak and weary,—Poe B. I will touch a hundred flowers/And not pick one.—Millay C. A black, as of a spe
What did govenor talmadge mean by i can carry any country that aint got street cars?
A baby gains 11 pounds in its first year of life. The baby gained 4 1/4 pounds during the first four months and 3 1/2 pounds in its second four months. How much
which choice shows the correct way to balance the following equation?H + O -> H2O