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

Ionic compounds dissociate into component ions dissolved into a solution, creating substances called __________. A. electrolytes B. ternary acids C. carbohyd
Jill, the editor of the school's newspaper, is running for class president. Her opponent is Jack, the captain of the school's ski club. Jill decides to make up
1. Simplify: (2n-3)/(6n-9) A) 3 B) 1 C) 1/3 D) 1/3n 2. Multiply: (4x+12)/(x^2-2x) × x/(6x+18) A) 2/(3(x-2)) B) 2/(x-2) C) 2/3 D) 4/x
why did the Soviet Union invade Afghanistan in December 1979?
Personal feelings about a topic do not affect the writers objectivity true or false
Can anyone help? pleaseeee!!! give brainliest!!!!
What aspect of the american economy improved in the 1820s??
You got a new credit card and spent $200 on the card last month. You forgot to make the payment on time and were assessed a $40 late fee. What is the late fee
Find the value of x. A. 7 B. 9 C. 11 D. 12
Which of the following is not a factor that has contributed to agricultural success in the US?