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 _________ is a plan for spending money. a. cash b. budget c. check d. credit card
What are the advantages of using thew spinning jenny
What is one way that you can advocate for yourself when visiting a new doctor's office? Speak up when you need information restated or explained Only reveal sy
The faces of a triangular pyramid have a base of 5 cm and height of 11 cm. What is the lateral area of the pyramid?6th Grade Go MathChapter 11 Lesson 4 Surface
Anyone know how to solve this?
Till his straining rump among the flowerbeds Bends low, comes up twenty years away Stooping in rhythm through potato drills Where he was digging. Read the haik
Which of the following is an annual expense? a. clothing b.life insurance c.entertainment d.transportation
During the revolutionary war , what was a tory
John Davis, a manager of a supermarket, wants to estimate the proportion of customers that will be using food stamps at his store. How large a sample is require
You received a gift card for your birthday to your favorite electronics store. You are trying to decide if you should buy the really cool camera or save the gif