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

What is the greatest common factor of 54z^3 and 18z and 36z^2
Write the product as a trinomial. (x + 3)(x + 4)
What is the value of k in the equation 5k-2k=12
The dot plot below shows the drawing scores of some students : which statement best describes the shape of the data On the 1 there are 1 dots on the 2 there ar
Mia paid $21 to rent 12 video games throughout the month. The store charges $1.25 for new games and $2.75 for older games. How many new games did Mia rent?
I have no idea how to attack this problem!!!! Can I get a step by step please?
1. La ___________ es treinta euros. 2. El ____________ es un postre. 3. Hay muchas _____________ en el café. 4. No voy en autobús, voy en _____________. 5. Come
Can you please answer the last question, i really need help and please explain thank you
May your holy month be blessed my muslim brothers
What is the volume of a sphere with a radius of 7 cm? Sphere V = 4 3 πr3 1. Substitute the radius into the formula:    V = 4 3 π(73) 2. Evaluate the power: