lottie989 lottie989
  • 15-04-2024
  • Computers and Technology
contestada

Consider the following code segment.
double x = 4.5;
int y = (int) x * 2;
What is printed as a result of executing the code segment?

Respuesta :

Otras preguntas

Write 658.129 in expanded form
Gas mileage is the number of miles you can drive on a gallon of gasoline. A test of a new car results in 350 miles on 20 gallons of gas. how far could you drive
peggy is putting flowers in vases. she puts either 2 or 3 flowers in each vase. if Peggy has a total of 12 flowers, how many different ways can she place them a
What was the goal of the compromise of 1850 ?
a person whose mass is 72 kg has a momentum of 700 kg/m/s (E) .What velocity must this person be travelling at?(2 sig figs)
Why didn't Britain's nuclear weapons deter Argentina from invading the Falklands?
what is 2/5 percent equal to
The banyan tree is a multicellular organism with differentiated cells. describe how this organism's specialized parts have helped it survive
1)2 out of 7 students are boys. about what percent of students are boys? please help me with the question it is due tomorrow!!!!!!
Sal had a board 5/6 yard in length.He cut off 1/3 yard,and then cut what remained into pieces each 1/6 yard long.How many pieces were there. A 2. B 3. C 4. D 6