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

y varies directly as x. if x=5 when y=12 find x when y=30
List the perfect squares between 100 and 500 that are even numbers.
How did the alliances that formed in Europe after world war 2 form an "iron curtain" as described by Winston Churchill in a 1946 speech?
the perimeter of a square is 4 times as great as the length of any of its sides. Determine whether the perimeter of the square is proportional to the side lengt
What is 60 divided by 100 and why? ( I got 0.6 but I'm not sure ) plz hurry
HOW TO FIND THE MISSING NUMERATOR IN ANY FRACTIONS LIKE 4/8=  ?/4
List the perfect squares between 100 and 500 that are even numbers.
The distance of a wave crest from its resting. position is its. out of A. Wavelength B. Amplitude C. Height
the perimeter of a square is 4 times as great as the length of any of its sides. Determine whether the perimeter of the square is proportional to the side lengt
SAT Help Jack can paint a house in 5 days, and Richard can paint the same house in 7 days. Working together, how long will it take them to finish the job? How d