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

What is the best way to dress for an outdoor trip in cold weather answers?
Which episode is when roy gets in a fight with jim on the office?
Madame loisel is âfull of a proud, simple joyâ that she has replaced the necklace so perfectly. in what way is her feeling ironic?
The carbon dioxide absorbed by plants is an example of an ________ to a forest and an ________ from the atmosphere.
Given g(x) = √x-4 and h(x) = 2x-8What is g(h(10))?2√2√6√6-82√6-8
Then he dismembered them and made his meal, gaping and crunching like a mountain lion – everything: innards, flesh, and marrow bones. We cried aloud, lifting o
Problem 2.26 MasteringPhysics 10 of 16 Problem 2.26 When striking, the pike, a predatory fish, can accelerate from rest to a speed of 3.9 m/s in 0.11 s Part B
All of the following characters can be argued as dynamic characters except _____.
The sum of three consecutive even integers is less than 84. find the set of these three integers with the greatest sum.
Whose interest in fashion makes mass production feasible for manufacturers?