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

What is the current situation in Venezuela? How did it become like this?
You need 550 mL of a 50% alcohol solution. On hand, you have a 55% alcohol mixture. How much of the 55% alcohol mixture and pure water will you need to obtain t
What is the y-value when x equals -16? y = -200 - 12(x)
what is matter made of?
11+(3p + 5x) +4x - x
#15 You earned 89 out of 100 points on your math quiz. What percent of the points did you earn? #16 Outc are in bar of studen
How do you capture energy from the moon?
Please Help ASAP A basketball player shoots a basketball with an initial velocity of 15 ft/sec. The ball is released from an initial height of 6.5 feet. The fun
For the following figure, complete the statement about the points. If U lies on the same line as R and N, what terms describe the relationship that U has with R
Darwin and Wallace developed similar theories of evolution independently; Newton and Leibnitz developed the calculus independently; Twitmyer discovered "Pavlovi