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

4/5 of a mile in nine minutes, what is the unit rate in miles per hour?
A certain paper describes a study of the possible cardiovascular benefits of active video games. Mean heart rate for healthy boys ages 10 to 13 after walking on
Is 3+4+6=3+6+4 Communative property
Y= -16t(squared) + 400 What is t???
Mrs Meadows baked for trays of cookies for her daughter. There were six rows of cookies with three cookies in each row. How many cookies did she bake for her da
Which of the following is not a double-reed instrument?a.Doboeb.English hornc.clarinetd.bassoon​
name the raw materials from which oxygen is released in photosynthesis ​
2. How much energy is needed to heat 12 g of water from 55 to 122​
randomly drawing a red or pink card from a deck of red and pink cards? Determine whether the event is impossible, unlikely, as likely as not, likely, or certa
Which two words in this excerpt from the The Count of Monte Cristo can be used as synonyms to determine the meaning of the word grotto? Air, opening, mephitic,