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

When did World war 2 end?
Macrohard have conducted a multiple linear regression analysis to predict the loading time (y) in milliseconds (thousandths of seconds) for Macrohard Workstatio
What is the difference of "no slope" and "a slope of 0"?
In ΔABC shown below, if BG = 38 what is DG? A) 19 B) 57 C) 38 D)17
8.9 is 1/10 of? please answer
The Smith family has decided to adopt their foster child, Anna. They work with their state adoption agency to complete all of the necessary paperwork. Which typ
1000X 35000+6000,000
How many terms did Franklin D. Roosevelt serve as the United States President?
What is the answer quick Help
If a town's population increases by 50% is that the same as the population being doubled?