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

why does the president usually urge voters to elect members of the president's own political party to congress
Explain how Adolf Hitler was able to acquire totalitarian power in Germany during the 1930s. Describe Hitler’s totalitarian rule, the conditions in Germany that
Those who opposed the Constitution feared the national government would Take rights away from the people Limit the number of new states Limit trade Require rel
sally buys a handbag. there was a discount of 30%. if sally paid, $20, what was the original price?
which of the following means to acknowledge, quote, or commend
A banana cream pie uses 8 ounces of cream cheese, 14 ounces of milk, and 12 ounces of whipped topping. In simplest form , how many ounces of cream cheese are th
how do I solve 8x - 4x - 60 = -12
___ is the phase in a woman's life during which the ovarian and uterine cycles cease.
What motivated Moctezuma I to reorganize the Aztec government? Concern about civil war Fear over Spanish invasion Competition with the Incas The massive toll of
the 175 anniversary of the completion of the erie canal was in the year 2000 if it took 8 years to dig the canal in what year did the digging of the erie canal