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 the graph of y = 1/x?
what is the main goal of people who work in the career field of human services a) to improve the environment and save wildlife b) to make life better for people
Is the verb phrase “was injured” linkin or action
What role does cellular respiration play in the water cycle ?
Explain how an orbit is formed
for the school play, 40 rows of chairs are set up. there are 22 chairs in each row. how many chairs are there in all?
An amateur player is about to throw a dart with an initial velocity of 15 meters/second onto a dartboard that is at a distance of 2.7 meters. Calculate the vert
a document format is : apex
Please help and explain on problem four.
Mr. Winters was having a roach problem in his classroom. He bought a product to kill the roaches. The advertisement said that the roach spray would be effective