XboxMoment
XboxMoment XboxMoment
  • 02-11-2020
  • Computers and Technology
contestada

int a = 30, b = 5;

if ( a == 30 && b > 10)

{

a = a + b;

b = b – 1;

out.println(a+” “+b);

}

Respuesta :

Cytokine
Cytokine Cytokine
  • 02-11-2020

The if statement wont run because 5 is less than 10.  If b were 11 or higher, the if statement would run.

Answer Link

Otras preguntas

Math Question? Help needed.
find the x-intercepts of the parabola with vertex (-1,-16) and y intercept (0,15), write your answer in this form (x1,y1),(x2,y2)
A lamp is marked 240 V, 60 W. The lamp is working normally. Calculate the electrical energy converted in 10 minutes.
Is the sequence arithmetic if so identify the common difference 13 20 27 34?
Which of the following is not an increased health risk for children and infants exposed to secondhand smoke?
Mali was introduced to the Islamic culture by
What is the freezing point of a solution prepared by dissolving 50.0g of glycerin in 200g of ethanol?
y varies jointly as x and z. y = 56 x=4 and z =7. Find y when x=8 and z=5
A hummingbird flies in circles around a bush. if the velocity of the hummingbird is 720 cm/s and the radius of the circular path is 9.0 cm, what is the centripe
F(n+1) = f(n) -2n if f(1) =18 what is f(5)