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

If the probability distribution is 1/10, 1/5, 1/2, x, what is the value of x? A. 1/5 b. 1/10 c. 3/10 d. 3/5
Six friends go to a movie. how many ways can they sit in a row of six seats? can be solved with the setup given in
Samit and his friends went to a movie at 7:30 p.m. The movie ended at 9:55 p.m How long was the movie?
What else would need to be congruent to show that ABC DEF by ASA?
Can rocks be weathered by wind and chemicals in the air
When NaOH(aq) reacts completely with HCl(aq) and the resulting solution is evaporated to dryness, the solid remaining is 1. an ester 2. an alcohol 3. a salt
Why do cds have lower rates of return than stocks?
Which of the following will help prevent further shin split injury?
Mali was introduced to the Islamic culture by
An example of good peer pressure would include