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

a=(vf-vi)/t solve for tsolve for vi solve for vf
What is 0.00000802 in scientific notation
what place value would i put 805 tens in
If a line has no y-intercept, what can you say about the line?
A carton can hold 1000 unit cubes that measure 1 inch by 1 inch by 1 inch. Describe the dimensions of the carton using unit cubes. Can you explain to me how to
Twice as number decreased by 9 is 7
If  lies in the quadrant IV. What can be the value of cos  ?
What is 5000 one tenth of?
The moon is about 240,000 miles from Earth period what is the distance written as a whole number multiplied by a power of 10
800 is 10 times as much as_____