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

Read and choose the sentence that matches the image. A man buying fish at a fish market and talking to the seller Él compra el bistec. Él compra los mariscos.
A large rectangular movie screen in an IMAX theater has an area of 6,699 square feet. Find the dimensions of the screen if it is 10 feet longer than it is wide
Suppose the maximum safe intensity of microwaves for human exposure is taken to be 1.48~\mathrm{Watts/m^2}1.48 Watts/m ​2 ​​ . If a radar unit leaks 10.0~\text{
how do you find the net force acting on an object? a- find the reaction force b- assume there is no friction c- add all the force vectors d- find the largest
find the points of intersection between x^2+y^2=45 and -3x+y=15​
Refer to the tree of life shown above. What can you conclude about fungi? A. Fungi are more closely related to bacteria than to archaea. B. Fungi are more
In the diagram of triangle LMN, which term describes point P?
What is the slope of the line that passes through the points (26,7) and (-39,12)
What is polarization
The x-intercept is The equation of the graphed line is x + 2y = 5. What is the X- intercept of the graph?