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

does the media influence us ?
in 1994, south africa elected its first ____ president. a : white b : black c : democratic d : woman
What is the difference between 126 and -27
There are 6 and 2 over 3pounds of walnuts in a container, which will be divided equally into containers that hold 1 and 1 over 3pounds. This would fill ____ and
Identify the simple predicate in the following sentence.my mother has been waiting all morning for the plumber to arrive.
Which of the following is true of the ethnic composition of East Asia? On the border with Nepal and India, the _____ are the world's highest mountains.
Cataract and lens replacement uses ____ different approaches
The electron configuration of calcium is A. 1s22s22p23s23p34s2. B. 1s22s22p103s23p4. C. 1s22s23s23p63d8. D. 1s22s22p63s23p64s2. ???
Sales tax in your town is 8%. How should this number be written in decimal form?
A serving of raisin bread has 3 grams of fat and 150 calories. What percent of calories are from fat? Remember, there are 9 calories per gram of fat.