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

Find the polar equation for the curve represented by the given cartesian equation x+y=4
How many lessons, including the segment exam, do you need to complete in unit 3 (3 points)
"ibm, memorial sloan kettering, and cedars-sinai have" a _________ whereby ibm receives expert medical knowledge that it uses to leverage its technological skil
Imagine you are 65 years old and you are experiencing conflicts with your adult children over a number of things: communication and style of interaction; lifest
(2x+2y=10)+(-x+y=1)
PICTURE PLEASE HELP.
Which of the following is the missing side length that completes the Pythagorean triple below? 5, 12, ____ A. 17 B. 15 C. 13 D. 14
if a 171 mile trip took 9 1/2 gallin of gas how much gas is needed for a 247-mile trip?
What benefit does a 401(k) plan provide over an IRA?
a high-school will graduate 100 students. of these 52 students plan to go to college what percentage of students plan to attend college