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

you must be willing to admit responsibility for your part in a conflict in order to resolve it
Building A and building B are 500 meters apart. There is no road between them, so to drive from building A to building B, it is necessary to first drive to buil
Using the distributive property, an expression equivalent to 34 + 16 is
2) The City of Oz has to repaint its cylinder-shaped water tower. Only the top and sides need to be painted. If the water tower has a height of 60 feet and a
Tom, John and Harry went for lunch to a restaurant. Tom had $100 with him, John had $60 and Harry had $409. They got a bill for $104 and decided to give a tip o
Select the favorable outcomes for rolling doubles. 1. (1-1) (2-2) (3-3) (4-4) (5-5) (6-6) 2. (5-1) (5-2) (5-3) (5-4) (5-5) (5-6) 3. (1-1) (1-2) (1-3) (2-1) (2-2
The female reproductive system produces a reproductive cell called a(n)
Daily changes in the elevation of the ocean surface currents are called
Why did workers try to form labor unions in the late 1800s?
How are so many people on this site right now? Don't ya'll have school? (I'm homeschooled)