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

Louise has a hard time keeping her workspace clean at her job. She tries, but it just ends up getting messy again. Which of the following is a likely outcome of
A apartie undergoes two displacement.The one has amagnitude of 150cm and makes an angle of 120 degrees with that positive x-axis.The resultant of the two displa
What is a good strategy to use when a client denies personal problems
A woman gave birth to twins. The baby girl was 6 lb. 5 oz. And the boy was 5 lb. 12 oz. How much did they weigh together?
Given: A and B are complementary angles. B and C are complementary angles. Prove: A C
Please help me anyone please ?!!!!!
Eric makes a fruit salad. He uses 1/2 cup blueberries, 2/3 cup strawberries, and 3/4 cup apples. How much fruit did Eric use in all? Enter your answer as a mixe
find the words that are closest in the following definition with many hill​
Murder investigation Detective Leong was involved in a murder investigation. In the suspect's house, the only thing he found useful was a password protected com
Which graph represents a function?