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

A mountain climber stands at the top of a 50 meter cliff hanging over a calm pool of water. The climber throws two stone vertically 1 second apart and observes
speed with direction is called
what is 7 5/9 minus 3/ 2/15
One purpose of the Marshall Plan of 1948 was to (A) rebuild European economies to make communism less appealing (B) aid the depressed agricultural economies of
when a falling object reaches a speed called terminal speed, its speed is no longer unceasing. the object id loosing gravitational potential energy nut no kinet
suma a trei numere este 3932/Primul numar este cu 1330mai mare decat al doilea si cu 1740mai mare decat al treilea determinati cele trei numere vreau rezolvar
Psychology question Jeremy grew up in an area where the land was flat. Sally grew up a large city with tall buildings. How may their depth perception be diffe
The core of an atom contains protons and __________.
Could life as we know it exist on earth if air contained only oxygen? Explain What would happen to the supply of atp in your cells if you ate to few carbohydrat
this is science they just dont have the subject buy anyways describe interactions you have with the environment that you depend on to meet your basic needs   ho