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

How does distance from the ground affect a ball's potential energy
A submarine changes its mass by adding or removing seawater from tanks inside the sub. Explain how this can enable the sub to dive or rise to the surface.
Why is it important to have a savings plan when managing your personal finances?
What is... I like to serve ice cream... in Spanish
I NEED A INTRODUCTION 5 sentences about the plant cycle
Imagine that the regulatory tumor-suppressor genes have mutated. what might be the outcome of this? all but one answer would be appropriate.
I need help on these two questions
Choose all the answers that apply. The universe: is shrinking is expanding contains billions of galaxies does not include the space between stars is about 10 b
Which of the following digits are not considered significant? a. all nonzero digits b. zeroes between nonzero digits c. trailing zeroes to the right of the deci
What action led wealthy planters in hawaii to fear that their sales and profits would decrease?