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

cine poate sami faca o prezentare sau o descriere pentru o fata cu numele eugenia poate sa rimeze da sa fie frumoasa si creativa promit coroana mersi frumos
It takes 5 minutes to bake 15 cookies. How many could you bake in 3 minutes
Passover is related to what event in Jewish history? [worth 99 points]
3. Even though the Harlem Renaissance popularized Jazz, it was actually a blend of mariachi music from Mexico and traditional chamber music it was first heard i
Why is Maine famous for lobsters?
If 4 times a number is 48, what is the number?
bias A) the relationship between two variables that can be observed and measured B) measures the opinions and attitudes of individuals in a society C) tendenc
Jack had 24 dollars! She spent 1/4 of it. How much did she have left?
In aquatic ecosystems net primary productivity is related to
A ________ approach to classification of psychological disorders assumes that every disorder has a clear and unique cause and set of symptoms, while a ________