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

Given: rectangle ABCD is similar to rectangle ZBXY. If BC = 10, BX = 6, XY = 4, then CD =
What is the book Ortega about?
Draw a bar model that shows how the number of hours in march compares to the number of hours in February this year
The expression 9+21 factored using the GCF is????
I need help, someone help please?
The amount of water in the air compared to the amount the air can hold is called the _____subject: earth science
Your doctor prescribed you take 400 mg of medicine every eight hours. How many ounces of medicine do you take in a day?
Write the equation of a line with a slope of 4 and a y-intercept of -3
As matter changes from from a liquid to a gas, it particles does what
The simple interest formula I=prt gives the interest earned on an investment of p dollars at interest rate r for a time of t years. How much does Leroy need to