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

Rob is travelling to germany he drives for1 1/2 hours wait for 2 3/4 hours flight lasts 2 1/3 hours how long has he travelled put in to fractions
The number of years of healthy life expected, on average, in a given population is the disability-adjusted life years (dalys). a. True b. False
How were the policies of the united states in the 1920s a rejection of progressivism? give specific policy examples in your discussion?
The number of years of healthy life expected, on average, in a given population is the disability-adjusted life years (dalys). a. True b. False
△EFG≅△JKL. What is m∠L?
A function has x-intercept 3 and y-intercept 2. Which of the functions below could be this function? A) 4+3x=2y B) 2x-3y=-6 C) 2y+3x=4 D) 3y-6=-2x
The price of a pair of shoes was first increased by 10% and then decreased by 10%. the final price was what percent of the original price
What is the perimeter of the triangle shown on the coordinate plane, to the nearest tenth of a unit? 19.2 units 22.3 units 27.4 units 36.0 units
Write the word sentence as an inequality. A number m is at least -3
Evaluate 7a-5b when a=4 and b=3