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

Gina rented shoes, bowled 3 games, and bought 1 order of nachos. she used a coupon for 1/2 off the price of her bowling games. What was Ginas total cost before
On a new construction site, an electrician can install a new light fixture in 20 minutes. A project calls for 24 new fixtures to be installed on each of 4 floor
Can someone answer my question plz!!!! It's in the picture and show your work!!!!!
A vehicle is only 15% efficient. What happened to the other 85%?
can someone help me solve this and show me the work? it says solve and graph the compound inequality -8<2x+4<10
solve the simultaneous equation 4x+7y=1 3x+10y=15
Please help me with this two step math problem! THANK YOU !!!!!!!!
4x-2y=14 y=1/2x-1 Solve the system of linear equations by substitution. Check your answer.
How do you write fifty-seven thousand,eighteen. In standard form
all 231 students in the math club went on a field trip. some students rode in vans ehich hold 7 students each and some students rode in buses which hold 25 stud