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

how to increase a number by 20%​
Compare the three metabolic pathways the body uses to generate ATP, including site of production, ATP yield, duration, oxygen or substrate requirement, and corr
A firm has $200 million in total revenue and explicit costs of $190 million. Suppose its owners have invested $100 million in the company at an opportunity cost
What natural features served as the border between china and north korea
What is the most important reason to consider ethics when conducting experiments? O A. The scientific results would not be believable if they were obtained unet
What is the formula for the ionic compound formed between calcium and sulfur?
Which equations have the same value of x as 5 (30x-15) = 72​
If you add 12 marshmallows to each of 5 bags of marshmallows, and each bag started with the same number of marshmallows, the total number of marshmallows is giv
What is the most likely plant response to an attack by herbivores?
John received a poor performance evaluation from his boss. On the weekend, he talks with his neighbor Faisal about his situation. Faisal asks him questions abou