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

a store is having a sale where everything is discounted 30%. Find the discount and the sales price is a customer buys an item that normally sells for $365.
Ana are 132 de lei la magazinul de jucarii si de 3 ori mai putin la librarie ce suma a cheltuit ana in total
Use circle M shown below to answer the question
Are you using more or less power if you take the same amount of time to do more work
I didn't understand this. Help
who's efforts in the 1940s and 1950s has nearly eliminated and widespread, deadly disease?A. Vladimir zworykin B. Norman Borlaug C. Jonas SalkD. Marshall mcluha
to make ballon bouquet i have 35 red ballons and 21 white ballons how many bouqueta can i make if i want the same number of each colord balloms in each boquet A
How does Lochinvar's offer to dance with Ellen affect the outcome of the poem "Lochinvar"? A.It was a way to get her parents to like him. B. He could get Ell
Monroe is gift wrapping a box that has the shape of a right rectangular prism. The box has a length of 20 cm, a width of 7 cm, and a height of 15 cm. How ma
Tomás y Patricio ____________ altos y guapos. fueron eran