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 chromosome that is exposed to a mutagen breaks into two pieces. A portion off one of the ends is removed before the two pieces rejoin. The mutation that occu
Chet found a pair of sunglasses that he would like to buy. they normaly cost $43.00, but this week they are on sale for only 7/8 of the usual price.How much mon
explain the importance of implementing food safety measures when providing food and drink
How did the police respond to protestors at the democratic national convention in 1968?
Loom is to weaver as Role is to actor Press is to printer Horse is to rider Article is to writer
Do y'all know any more stuff about George Washington
Who is the president of the united states of america?
When you heat a substance what happens to the molecules
A lack of Hungarian representatives in the government and ________ lead to uprisings against Austrian rule.. A) anger over unfair taxation B) Disputed territory
Write the formula for the volume V of a prism where B is the area of the base and h is the height. V=36 h=6