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

Explain the meaning of the terms “saturated,” “unsaturated,” and “supersaturated” with reference to the amount of solute and solvent in solutions.
Which group or event eventually ended the Byzantine Empire? A. the First Crusade B. the Fourth Crusade C. the Huns D. the Ottoman Turks
Given the equation x+y=20 and x-y=8,which values of x and y satisfy both equations
The answer, and work shown.
For this assignment, you will read a modified excerpt from the Rig Veda and use supporting details and evidence to write a brief essays that explores how Aryans
A baseball stadium reported the fraction of fans who bought hot dogs at each game throughout the season. The line plot displays hot dog sales data for each game
The only solution of the equation x2 + bx + 16 = 0 is x = 4. What is the value of b? b = –16 b = –8 b = 8 b = 16
Which of the following substances is explained by Charles' law? solids gases liquids
A bag contains 30 marbles, 3 of which are blue, 20 are red, 5 are green, and 2 are purple. Emerson takes a marble out of the bag, records the color, and returns
When did the idea for Black History month occur?