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 does crossing over affect evolution?
Steve's scores on Exams #1, #2 and #4 are 89, 93, and 87 (out 0f 100). Unfortunately he skipped Exam #3. This resulted in a score of 0 for him on Exam #3. If he
how do we work these out ? explain please
Given: T is the midpoint of JK, JK= 5x-3 and JT =2x+1. Determine the length of JK
what is meant by data mining ?
Anneke's science class measured 10 inches of rainfall during the month of May what was the average rainfall per day?(Round your answer to the nearest hundredth
Divide 28 cans of soda into two groups so the ratio is 3 to 4.
Write the next two terms in the sequence I really need help thanks
What letter ends everything always
Steve's scores on Exams #1, #2 and #4 are 89, 93, and 87 (out 0f 100). Unfortunately he skipped Exam #3. This resulted in a score of 0 for him on Exam #3. If he