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

Which two numbers add up to 21 and multiply to make 32
write a fact with the same sum of 7 + 5
Choose the simple predicate in the following sentence. The men finished the game in a short time. A. finished B. game C. men D. time
Adam is asked to prove that a particular molecule enters the cell via active transport. Which of the following statements can he use as evidence?
Please Help! Suppose you have three light bulbs connected in a parallel circuit, and each has a current of 1 amp. The battery must supply ________amps.
A train travels 25 miles in 20 minutes. What is the train speed in miles per hour?
What's the square root of 0.4 repeating
3y=x (tell whether x and y show direct variation
Analyze the extent to which political and economic changes reshaped american society between 1820 and 1848.
Unscramble eres de dónde tú