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

Which of the following numerical expressions may represent the probability of a simple event? a) 1/2 b) 1/2 + 1/6 c) 1/6 + 1/6 d) 1/2 * 1/6
Who is the head of executive branch of our government?
solve the system of equations using substitution. y = 4x 6 y = 2x (–3, –6) (6, 3) (3, 6) (1, 2)
Which of the following is a phase of mitosis? a. cytokinesis b. interphase c. telophase d. none of the above
the definition of the word acute angle as a biconditional statement
Which sentence uses the word effect correctly? A. Rising oil prices will have an effect on nearly everyone. B. A gas shortage will not effect me very much, s
triangle abc is similar to triangle fgh. angle a measures 42 degrees. angle g measures 49 degrees. find the measure of angle h. 42 89 119 49
Excel can display characters in only three font colors: black, red, and blue. (points : 2) true false
Which of his own pieces of writing does poe use to explain his philosophy of composition?
Which of the following processes depends on the formation of vesicles and would therefore be blocked?