youeabelleLoverso youeabelleLoverso
  • 03-11-2016
  • Mathematics
contestada

What is y after the following statement is executed? x = 0; y = (x > 0) ? 10 : -10;?

Respuesta :

kingburrito
kingburrito kingburrito
  • 03-11-2016
Ahh, i can see youre doing some programming.  In C++ this output is -10
So -10
Answer Link

Otras preguntas

Find the length of the radius of the following circle. (x + 2)2 + y2 = 10
If the length of each side of a square prism is ten feet. Find the total surface area of this object
Square of the complex number (i - 2)?
find the point on the y-axis that is equidistant from (6,1) (-2,-3)
find a common solution for each system of equations: y=3x+5 y=-5x-3
where does the shadow of the shuttle in space form?
the length L of a spring is given by L=(3/4)F + 5 where F is applied force. What force F will produce a length of 8?
Which characteristic is shared by sonnets and haiku?
simplify (1/x) + (1/(x+h)
Is the E-CIG industry more "safe" than the actual tobacco companies? Why? If someone offered you E-CIGS than cigarettes would you say yes or no? Why?Full Paragr