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 potential difference between xi=2.0m and xf=3.0m?
What are organ systems made of
a young boy has been found, and police are trying to locate his family. they take a dna sample from him and begin collecting dna samples from families who have
which shows an internal conflict? (1 point)a character struggles with a decision two characters disagree about a plan a character disagrees with a common view a
Which of the following behaviors preceded the Salem Witch Trials?
"Triangle XYZ is shown on the coordinate plane below. If triangle XYZ is reflected across the line y = 1 to create triangle X'Y'Z', what is the ordered pair of
A basket contains 14 white eggs, 15 brown eggs, and 11 lemons. Taylor is in a hurry to make breakfast and picks something from the basket at random. The exact p
balloon payments are payments that are?
An engineer wants to determine an efficient method for condensing large amounts of steam into liquid water. Which constant should she use?
what is the product of (y+3)(y^2-3y+9) y3 + 27 y3 – 27 y3 – 6y2 + 27 y3 + 6y2 + 27