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

What is some qualitative and quantitative that prove the law of superposition? please i have no idea
Kinda lost on this please need help
5x-10y+15z find the equivalent expression by factoring
Given V = 24h, solve for h
What is the equation of the following graph?
Why has World War I been described as a "total war"?
Which part of photosynthesis uses carbon dioxide?
ABLOLUTE VALUE 18/8 show work
can someone PLEASE help me with this
What are the vertices of the following graph?