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 problems you face when you listen to lecture ​
Believe this is worth 7 pts please help!
(b) In a sale the original prices are reduced by 15%. (i) Calculate the sale price of a book that has an original price of $12. $ (ii) Calculate the original pr
A 1.45 L buffer solution consists of 0.111 M butanoic acid and 0.281 M sodium butanoate. Calculate the pH of the solution following the addition of 0.078 moles
How many degrees are there between the direction of motion and the force of friction? A. 270 B. 90 C. 180 D.0
Can you give me an example of medicine that developed throughout the 20th century.
I’m having a lot of trouble, can someone guide me, step by step?
A fan is turned off, and its angular speed decreases from 10.0 rad/s to 6.3 rad/s in 5.0 s. What is the magnitude of the angular acceleration of the fan? A) 0.
The sum of 'n' terms of an arithmetic sequence is 4n^2+3n. What is the first term, the common difference, and the sequence?
give related words and complete the web - Picnic​