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

James suffers a heart attack. His heartbeat and breathing have stopped completely. How would you help him?
All of the following careers relate to Business Management and Administration except:
Promotion relies upon multiple methods, such as _____________ to get the word out. social media multiple media position product
Mrs.Beltran bought 15 books.She paid $11 for each book.She later sold all 15 book for $25 each. What is the difference between the total amount of money Mrs. Be
In which form is energy stored at the end of photosynthesis Solar energy Electron energy Proton energy Chemical energy
what is the speed of a bobsled whose distance-time graph indicates that it traveled 112m in 26s
The degree to which an organization or society encourages and rewards individuals for being fair, altruistic, friendly, generous, caring, and kind.
Which structures are found in both animal and plant cells? Check all that apply. cell membrane cell wall cytoplasm Golgi body nucleus ribosome vacuole
please help on this equation: 3(4v-1)-8v=17. Thank You
Which equation can be used to represent "three minus the difference of a number and one equals one-half of the difference of three times the same number and fou