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

How does the mass per nucleon of an element change as the atomic number increases?
Solve the system using elimination: 2x-y=8 3x+2y=5
THOMAS OSLER IS BUYING A TOWNHOUSE SELLING FOR $175,000. HIS BANK IS OFFERING A 30-YEAR FIXED RATE MORTGAGE AT 5.5% WITH A MINIMUM 20% DOWN PAYMENT. DETERMINE
The discreteness of energy levels is best understood by considering the electrons to be?
what was the purpose of Executive Order 9906?
what the difference between graphing lines and graphing inequalities?what the difference between arithmetic and geometric ?how do you explain using sigma notati
When working with a spreadsheet, data analysts can use the _____ function to locate specific characters in a string.
Suppose that a household's monthly water bill (in dollars) is a linear function of the amount of water the household uses (in hundreds of cubic feet, HCF). Whe
A 75.1 L sample of gas at 33.2 ºC and 365.7 mm Hg expands to 242.9 L at 6.5 ºC. What is the new gas pressure?
Mannose (C6H12O6) is a simple sugar found in many fruits and vegetables. How many oxygen atoms are in 7. 15 x 10^23 molecules of mannose?