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

In the ____ of new englanders, wicked means "very" or "extremely
who was the resident of usa in1983
Show that the set of all elements of the form (x²y, x³z, 2xy - z), where x, y, z ∈ ℝ, is a subspace of ℝ³.
the teacher rubbed his eyes __after Teaching for hours.(tired/tiredly)​
Outline the process your workplace implements for case closure or client exits.
what is the physical state of copper
A line passes through the points ( – 1, – 9) and (1,7). Write its equation in slope-intercept form. Write your answer using integers, proper fractions, and impr
22. A bag contains 20 red, 40 blue and 15 yellow balls. Find the percentage of red balls. (A) 24 2/3% (B) 26% (C 25 2/3 % (D) 26 2/3%
If you see a red and a white light ahead when boating at night, you should
please help me answer this