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

Sucrose is a disaccharide. It is made up of monosaccharides. *
2) What problems were caused by direct democracy? 3) What is a representative democracy? 4) How does a republic solve the problems brought on by a direct democr
Albe O 2 3 5 6 Read the excerpts from Just Mercy by Bryan Stevenson and "Wrongful Convictions" by John R. Firman Just Mercy We also make terrible mistakes. Scor
Evaluate 3x+4 for x=3
s for Completion Which business opportunity involves recruiting marketers to join a team?
Can somebody help me if you know what this is
Can someone please help me answer these due very soon ?!?!?!
Mrs Mawisa, the head teacher at Monti High School wants to improve the management of her school’s data by using a database. The head teacher wants a custom desi
HELLP Find the coordinates of the point 3/10 of the way from A to B
HELP IMMEDIATELY PLEASE