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

Help plz i reeeaaalllyyy dont get it :(
The cereal box shown below is a rectangular prism. the height is 25, the length is 15, the width is 4. find the surface area of the cereal box.
What is the answer to this problem -34=m-16
The volume of a cube that measures 10cm in length, 10 cm in width, and 10 cm in height is 1 L. True of False
Would you expect an anima with the scientific name Rania onca to look similar to a Jaguar?
conomists make use of assumptions, some of which are unrealistic, for the purpose of a. teaching economics to people who have never before studied economics. b.
Which statements describe the inner planets? Select three options.
is Japanese walls made from cotton and silk?
b over 7 plus 1 equals 6​
The center of a circle is (5,-3) and its radius is 4. Which point lies outside of the circle?