jazprincezz6284 jazprincezz6284
  • 11-07-2019
  • Computers and Technology
contestada

Write an if else statement that assigns 0 to the variable b and assigns 1 to the variable c if the variable a is less than 10. Otherwise, it should assign -99 to the variable b and assign 0 to the variable c.

Respuesta :

yuvalileibovich475
yuvalileibovich475 yuvalileibovich475
  • 11-07-2019

Answer:

if(a < 10)

{ b = 0; c = 1;}

else

{ b = -99; c = 0;}

Explanation:

Answer Link

Otras preguntas

Which major figure is the civil rights movement wrote “The Legal Attack to Secure civil rights
Which of the following numbers is divisible by 2, 3, 5, 6, 9, and 10? A. 420 B. 540 C. 250 D. 510 ...Im too lazy to do it myself
Indicate whether the statement is true or false. The reason a penny thrown straight up inside an airplane will come back to your hand is that you, the air insid
Read the lines from The Tempest. And ’twixt the green sea and the azured vault Set roaring war: to the dread rattling thunder Have I given fire, and rifted Jove
why are isotopes not shown on the periodic table
IS ANYBODY GOOD AT MATH VOCABULARY?????? I'm on a unit in algebra right now and we're using the distributive property, but i'm not sure what the problems we are
How did the spread of the Bubonic Plague impact the global population, and what other effects did that have? Use details to support your answer.
Find the exact area (in square units) of the figure below. Explain your method(s).
Most elements, with the exception of a few like hydrogen, want to have _________ electrons in the outer energy level. 6 8 10
Who found Connecticut