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

An electrical appliance of 1.5 kw is used for 4hour each day. The electrical energy consumed in 60 days is :a)6kwhb)360kwhc)2250kwhplease help me!!I want the co
who is an infamous totalitarian leader? why are they infamous?
-3y > x +18 y 2-4x m= 3/1
1 10. What is Stanton in charge of? 11. How is the Petor, What is Stanton in charge of in the assassination of Abraham Lincoln
Help please ill give brainy
In a group of 39 students, 14 study both Art and Biology. 12 study Biology but not Art. 2 study neither subject. Given that a randomly selected student studies
Josh bought a video game that was 40% off. He paid $50 for the video game. How much was the game ORIGINALLY?
how many grams of carbon tetrachloride can be produced from reacting 709.0 grams of chlorine (CI2) with excess methane?
Read the excerpt from "The Arming of Patroclus." So the warriors went to battle in close array, helmet to helmet and shield to shield, close as the stones with
(7.5 + 3.2) what does it equal??