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

if sinA+cosecA=3 find the value of sin2A+cosec2A​
Name the two boys that represent 'stolen childhood 'in the text of Lost spring? State the family background of each boy in the Lost spring?​
Cory has only dimes in his piggy bank. A dime is worth 10 cents. Which could be the value of the money in Cory's piggy bank?
Which of the following phrases are equations? Choose 2 answers: A) 5 = 3m B) n>|-8|C) 2 + 6 = (5 - 1). 2D) 8. (k + 6) E) 0 < 4+p​
1. How many grams are in 0.20 moles of N,?
If the length of a cube is 2cm then find the surface area of the cube?​
What is the probability of rolling at least one six in three rolls of die
Beads are dropped to create a conical pile such that the ratio of its radius to the height of the pile is constant at 2:3 and the volume is increasing at a rate
What is the Texas Health Services Authority (THSA)?
Match each vocabulary word to its definition.