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

Key issue that led to the civil war
where is the assonance
why is japan spending so much money on preparing for earthquakes
Which term best describes a creature with both human and robotic parts
who really benefits from globalization? write a short paragraph arguing who benefits from globalization *13 POINTS*
Most enzymes work best at 37C because at lower and higher temperatures, the conditions are not optimal for their performance. Explain in DETAIL what happens at
i need help (please dont anwser with links) thank you
In the previous task you saw that the number of moves to solve the Tower of Hanoi with n disks given by the equation an -2-1. What is the fewest number of moves
The graph compares tree growth and tree removal in the United States in 2006. Private land includes land that is owned by timber companies, other organizations,
A child is playing a card game where, if she does not have a red card in her hand, she must draw cards from the deck, and keep the cards she draws, until she dr