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

Helpppppppp (photos)
The plaintiff alleges that the defendant spread rumors and gossip about her and her business. From the start, the plaintiff appears to be claiming which type of
There are three cards. One is green on both sides, the second is red on both sides and the third is red on one side and green on the other. We choose a card at
Jones Company uses the weighted-average method in its process costing system. The Packaging Department started the month with 400 units in process that were 70%
What is regulation in an economic system?​
Factor the expression: u·(u−v)+v·(v−u)
In _________________, the customer usually requires that throughout the project, the contractor regularly compares actual expenditures with the proposed budget
Materials in the raw materials account do not become direct materials a.until they are purchased from a vendor. b.until they are withdrawn from inventory for us
Why can glycolysis supply energy to cells when oxygen is not available
The following data was collected from a simple random sample of a population. 13 15 14 16 12 If the population consisted of 10 elements, how many different ra