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

Light would most likely be transmitted through A. A mirror B. A stone C. A leaf D. A window
Solve for x. −6 = − 3 4 x
What basis did the bishop of Rome claim authority over other bishops
Polygons ABCD and A'B'C'D' are shown on the following coordinate grid: What set of transformations is performed on ABCD to form A'B'C'D'? A 90-degree counterclo
Courtney receives a mailer to a local store. In the mailer, there are two coupons which cannot be combined. One coupon is for $20 off a purchase of $100 or more
a+b=60 a-b=40 whats a/b?
Select the phrase that best completes the sentence. C’est la maison où je vivais auparavant, donc c’est ___________. A. ma maison ancienne B. mon ancie
Why did Europeans want to find an ocean trade route to East Asia after 1400? A. The Islamic Empire banned trade from Europe. B. The old land routes
Franklin rode his bike 6 5/6 miles on Tuesday. He also rode his bike 5 5/6 miles on Thursday. What is the difference between the distances he rode his bike
subtract the following complex numbers: (4+4i)-(13+17i) ??