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

Why aren’t lung transplants very common?
What was the overall purpose of the Fourteen Points, and why did President Wilson include the type of proposals listed in his passage?
While loading, a truck moves 10 meters west from point A to point B in 5 seconds Then it moves back to point A in 5 seconds What are the average speed and avera
which of the following was a reason for communists victory in china
Who fought in the western front
The portion of a just soul which rules over the others is
Which hormone is largely responsible for women having wider hips than men?
please show all steps and correct answer. answer asap.
Montel can't keep up with the demand for the lastest best-selling book. He had to order more copies twice this week. On monday he placed an order for 96 books.
question in photo bc i cant type it right lol