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

In the context of careers in psychology, a specialist with a medical degree who specializes in abnormal behavior is known as a(n)
In Juneau, Alaska, the temperature was -15°F in the afternoon. As a cold front approached, the temperature dropped 9°F. What was the final temperature after the
y = -6x + 19 -6x + 4y = 16
the product of twenty and a number
QUESTIONS An ant walks eastward for 11.1 cm, then northward for 4,4 cm and finally westward for 11.1 cm. What is the magnitude of the displacement in cm Do not
Describe how excavations are done.
What is the image point of (9,−2) after a translation left 2 units and down 1 unit? I need help
f(-1/2)=1/2x +3/2 what is the answer to this?
How did democracy shape America?
What can you conclude about Squeaky from her narration of this passage? And I'm smiling to beat the band 'cause if I've lost this race, or if me and Gretchen ti