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

Population density is a measure of how crowded an area is. The population density of Australia is approximately 7.6 people per square mile. If Bangladesh has 2,
What is the value of a in the equation 5a – 10b = 45, when b = 3?
Describe the two vantage points from which a description can be written
What is an advantage of terrorism
A speed sign is an example of a _________ sign
Determine the most precise name for the quadrilateral
There are 20%, percent more goblins than wizards in magic club. There are 120 goblins and wizards altogether in magic club. How many goblins are in the magic cl
she was bored with the play what is the prepositional phrase
40 points! National Security! Which of the following tasks would be one responsibility of the National Security Agency? Collecting data from suspected foreign
The variable z is proportional to x and inversely proportional to y. When x is 12 and y is 4, z has the value 57 what is the value if z when x=18 and y=10