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

Read the sentence. Our teacher has waited so patiently for our report, but we have not submitted it yet. Which underlined word functions as a coordinating conj
A lock has a disk with 36 numbers written around its edge. The combination to the lock is made up of three numbers. What is the probability of correctly guess t
What is the unit rate of $2.50 for 5 ounces
Which is a true statement about the Federalists? They feared that Congress would become too powerful. They believed in a system of checks and balances. They f
A state cannot collect taxes from which of the following? A. campers camping in a state park B. city dwellers riding the subway C. loggers harvesting trees in
What is a public service announcement? A. It is a short dialogue stating personal opinions. B. It is a lengthy descriptive narrative about an event. C. It is
jake goes to the grocery store and buys 3 apple, 2 cans of soup, and 1 box of cereal. the apples cost $0.89 each; the soup costs $2.98 per can; and the box of c
why did Henry David Thoreau build a cabin on Walden PondA. to be close to his friend Emerson so they could collaborateB. to conduct an experiment about living i
What items did the townshend acts tax?
Is this function linear or nonlinear? y=1x