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

please help asap!!! Lines AB and CD are perpendicular to each other. If 1 measures (3x + 3)°, and 2 measures 30°, what is the value of x? A. x = 120 B. x =
____ tissue can be liquid, solid, or semi-solid.
$400 earning 8% interest will be worth - in 25 years.
Isaac drove at an average speed of 49 mph over six hours. During the first three hours he drove at a speed that was 172 mph less than four times the speed he av
Water is used as coolant and for hot compressing. Why?​
hey help if you know this please, it doesn't have lines indicating to where so I'm confused, also need help with number 7 please​
What is the most precise name for a quadrilateral with the following vertices: A(2,3) B(7,2) C(6,-1) D(1,0) A) Quadrilateral B) Parallelogram C) Rhombus D) R
what is an interesting PowerPoint title for a presentation about continental divergent plate boundaries? Please help . Must be interesting !
write an equation for “15 is 3/8 of what number?”
Dillon plans to invest $16,000 part at 4% simple interest and the rest at 5% simple interest what is the most he can invest at 4% and still be guaranteed at lea