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

Given the Arithmetic series A1+A2+A3+A4 A 1 + A 2 + A 3 + A 4 8 + 11 + 14 + 17 + . . . + 68 What is the value of sum?
When a sphere is cut in cross section the shape formed by the cut is?
what value of x is in the solution set of 3(x-4)greater than or equal to 5x+2
A triangular pyramid is sliced so the cross section is parallel to its base. What is the shape of the cross section?
Eorge and Maria decided to create a garden in their backyard. George works on the garden every third day and Maria works on the garden every fourth day. If they
find the complete factored form of the polynomial: 25ab^2+5ab
Which equation, when graphed with the given equation, will form a system that has no solution? A)y=3x+6 B)y=-3(x+6) C)y=-3(x-2) D) y=3(x-2)
In 1,000,000 pound banknote why did mark twain most likely create the character henry Adams as an American living in England
Geometry math question no Guessing and Please show work thank you
Why should people got to the west?