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

what is force ?is it desirable or undesirable?
What is the probability of someone correctly guessing your Social Security number? (Assume all digits 0-9 are available for use)a
Six popular brands of tea are to be used in a blind taste study for consumer recognition. If three distinct brands are chosen from the six, and if the consumer
Write a complete reaction of succinic acid and acetic anhydride
You shoot an arrow set a target. The parabolic path of the arrow passes through the points shown in table. X. Y 30. 6 60. 7 100. 4 A. Find a quadratic function
Compute the odds in favor of rolling a sum of 10 in a single roll of two fair dice
wats the 60% off a prize that is $20.00
If f(x) is 4x-3 what is (f^-1of) (10)
can u tell me how to solve this promblem 4/7 plus 3/7
The Habsburg Empire did all of the following EXCEPT A. take control of Hungary, Croatia, and Slovonia. B. lose their Holy Roman Empire in Germany. C. remain a c