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

Earthquakes occur because of _____. plate tectonics cracks in the crust landslides volcanoes
What subatomic particle of the atom has no electric charge
If a sequence is defined recursively by f(0)=2 and f(n+1)=-2f(n)+3 for n is greater than or equal to 0, then f(2) is equal to...?
The set rules and standards by which a society governs itself is known
Which of the following options best describes the characteristics of a Chicano mural piece?
Public communication tends to occur within a more a. complex structure b. political structure c. convenient structure d. formal structure
You would most likely find a young star in the Milky Way if you looked a. in the halo. b. in the nucleus. c. in a major spiral arm. d. between major spiral
Denise scored 3 fewer points than carter scored. Denise scored 18 points. How many points did Carter score Write
Relearning requires one to memorize information a second time. Please select the best answer from the choices provided T F
The temperature of a sample of water increases from 20 degrees Celsius to 46.6 degrees Celsius as it absorbs 5650 calories of heat. What is the mass of the samp