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

permitted some capitalism
Someone please help me with this?
Write me What is 10/12 using simplest form
Which factor would increase poor indoor air quality?.
Define:- Airㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ​
A refrigerator is used to remove 84 kj/min of heat from a tank. If the electric power consumed by the refrigerator is 1. 2 kw, what is the cop of the refrigerat
A regular pentagon has a perimeter of 15x+35 What is the length of one side of the pentagon?
I tossed a ball straight up into the air and timed how long it took to return to the height I tossed it from. It took 4.2s. How fast did I throw the ball into t
The opposite side is 7 inches long. The adjacent side is 11 inches long.
50 POINTS BRAINLIEST FIRST CORRECT ANSWER Maker obviously values education for girls. Discuss why she believes this is so important and the impact she feels an