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

The relationship between the number of pounds (lb) of salmon and the price in dollars is shown in the graph. What is the unit price of salmon?
which of freud’s ideas is still part of modern psychoanalytic thought?
3 burgers and 2 drinks cost $35.002 burgers and 1 drink cost $22.00What is the cost of each item?​
________volcanoes are found far from plate boundaries, with partial exception of Iceland. Fill in the blank.
PLS FAST WILL GIVE BRAINLIEST!! Which feature of the aperture controls the amount of light that is allowed to enter the lens? its resolution its width its speed
feeling pain, hunger, thirst, sleepiness, and being aware of our thoughts and emotions are all examples of ________ stimuli.
The protects our body from harm and helps regulate body temperature.
Recently you witnessed a major disturbance at a rail way station when many people were injured. You are asked by local police to write an account of what you sa
Why were General Thomas Gage and British troops sent to Concord? a To arrest Benjamin Franklin b To take away weapons of the Massachusetts militia and arrest t
Which of the equations below could be the equation of this parabola? A y = 1/6x2 B. x = -1/6y2 C. x = 1/6y2 D. y = -1/6x2