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

Who is brown in brown v board of education?
The depth of the water at the end of a pier changes periodically along with the movement of tides. On a particular day, low tides occur at 12:00 a.m. and 3:30 p
During a heavy thunderstorm, where would you most likely to see surface runoff?
Which one of the follow was a problem caused by the Article of Confederation?
, you will not need to supplement your Social Security benefits with a pension, savings or investments ture or false
What is a characteristic of a person with positive mental well-being?
Describe three negative effects that alcoholism and alcohol abuse have on the people you love.
Se vende2 usb en 60 soles cada uno. En una se ganó el 20% y en la otra se perdió el 20% ¿Se ganó o se perdió en total y cuánto?
Which sentence uses the word who’s correctly? Calling from the kitchen, my father said, “Who’s turn is it to empty the dishwasher?” Brenda, who's car is 52 year
Formal analysis can be done on paintings, but not on sculptures. a. True b. False