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 does it mean to listen/speak effectively
A tub filled with 50 quarts of water empties at a rate of 2.5 quarts per minute. Let w = quarts of water left in the tub and t = time in minutes. A 2-column ta
An example of a scientific measurement when determining the period of a pendulum is 1-a list of the items required for the experiment 2-the number of seconds to
Can someone please help?!
1.I(write)......a letter now
If a sloth is traveling at its top speed of 0.067 m/s (0.15 mph), how long does it take the sloth to travel a 11.5 meter tree? A) 17 mins B) 2.86 mine C) 5.42 m
Answer this match question please, i need itt
HELP ME IN MY MATH QUESTION PLEASE(ᗒᗣᗕ)՞1. One hundred meters of fencing is available to inclose a rectangular area next to a river (see figure above). Give a f
Which of the animal mentioned in the above passage is a skilled spitter? cobra llamaarcher fishnone of the above​
Uh little confusion? Please help me out this is my new assignment 2-3.​