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

Ramiro is 3/10 as tall as the flagpole. The flagpole is 5/9 as tall as the nearby tree. The tree is 32 2/5 feet tall. How tall is Ramiro?
Find the coordinates of point E if C is the midpoint of AE A has the coordinates of (-3,1) C has the coordinates of (-2,-1)
while your finger is still pushing the coin, there are four forces acting on the coin: what are they?
how do i persuade students to enter the school talent show? i have to write it as an article in the school magazine.
by hw much is the difference of 604 and 406.64 less than thier sum ?
2b^2+4b–2=0 what is the answer?
when you flick a coin so that it slides across a table, it slows down. what is the name of the force that slows it down
How do I graph f(x)= -cos(x-pi)?
A person walks 25 m west and then 45 m at the angle of 60 degrees north of east what is the magnitude of the total displacement?
Prove that 2n + 1 ≤ 2n for n ≥ 3