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

can you help me with this question
Lauryn wants to analyze the weights of the dogs for people that own that animal in her class. She records the following weights in a class survey: 28, 61, 17, 4
What’s the second step to solving 2x-4=26
no dwddddddddddddddddddddddddd
Against his financial advisor’s advice, frank has decided to invest his money in some risky stocks because he once made quite a bit of money in the stock market
HELP. Question 2(Multiple Choice Worth 4 points) Solve x³ = 64 27 8 3 O H 4/3 43
Which two countries are the most popular tourist destinations
you have a friend who is from London who wants to know your way of life in Zimbabwe. Write a letter telling him about the way of life in Zimbabwe​
Can somebody help me solve this inequality
What is the role of ancient si ma?