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

The commute time for people in a city has an exponential distribution with an average of 0.5 hours. What is the probability that a randomly selected person in t
A 110.0 kg car traveling initially with a speed of 25.000 m/s in an easterly direction crashes into the back of a 8900.0 kg truck moving in the same direction a
Introspection involves reporting your thoughts, feelings, and:
HELP AS FAST AS YOU CAN PLEASE!!!!
Both Euclidean and non-Euclidean geometry have been accepted as valid types of geometry. True or False?
what are the formulas for right triangles​
On 12/31/X4, Zoom, LLC, reported a $55,500 loss on its books. The items included in the loss computation were $27,000 in sales revenue, $12,000 in qualified div
Some people protest against the World Trade Organization (WTO). What is a common complaint among protestors? A. The WTO opposes the most powerful governments. B
Eva invested $10,000 in a savings account. If the interest rate is 3.5%, how much will be in the account in 10 years by compounding continuously? Round to the
(LC)Which of these was an effort by the Soviet Union to push the rest of the Allies out of East Germany? the Warsaw Pact the Berlin Blockade the Dumbarton Oaks