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

Solve the equation x=x+3
Anyone know how to do this kind of algebra?  Compute the discriminants of the next two quadratic equations. Compare the result in (A) to that in (B). What do y
Natalie picked 135 berries in 15 minutes. If she continues picking at that rate, how long will it take her to pick 486 berries?
how do you solve m/9 divided by mn squared / 3
the student council president wants to find out the opinion of the students on the issue of school lunch options. The president sends out a survey to a random
All of the following are true about Latinos’ experiences in World War II EXCEPT (A) unlike African Americans, Latinos fought in integrated units (B) Latino you
what is the value for the expression -5+ 5
Among other things, the romantics valued: a. individualism, the belief in the uniqueness of each person. b. socialism, a system in which society owns and contr
How do you work this problem?
If every positive number has two square roots and you can find the length of the side of a square window by finding a square root of the area, why is there only