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

Kevin has created a work of art. It consists of a solid, perfect steel cube placed on the floor. What style of art has Kevin used?
Look at the outline for a compare-and-contrast paragraph of two editorials. 1. Introduction A. Thesis 2. Editorial one A. Evaluate the argument 3. Edi
I need you to answer at least 1 choose whatever u want just dont do the same as another persons answer tysm​
Explain why the sun’s corona can be seen during an eclipse but not at other times
i am a fraction that is equal ro 1/6. what am i?​
An organism’s scientific name is Dendroica pensylvanica. What classification level does pensylvanica refer to? 1.Genus 2.Specific Epithet 3.Kingdom
Which statement describes a difference between the legislative prodcedures of the House of Representatives and the senate
When, if ever, should the government be permitted to restrict free speech
Help me! I was sick when my math teacher went over this and didnt care to give me the extra work for it! Help!!!
Which of these substances is a compound? a.) chlorine b.) nitrogen c.) uranium d.) ammonia