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

X over 8 is greater than or equal to 1 . Solve & graph
What is the scientific notation of 8888800
What was important about Charles Martel's victory at the Battle of Tours
TICKETS: All you can ride: $25 7 tickets for $5 a. Write an equation in slope intercept form for the total cost of any number of tickets at 7 tickets for $5. b.
According to the Declaration of Independence, where does a government’s power come from?
which inequality correctly orders -28,-19,12, and 2 a.-28<-19<12<2 b.-28<-19<2<12 c.-19<-28<2<12 d.2<-19<-28<12
If the 'Cell wall' had a career; what would it be?
Why did the founding fathers compromise on using a federal system for the new government?
What would seasons be like if the revolution around the sun took 2 years
The Wade-Davis Bill passed by Congress, then vetoed by Lincoln, stipulated that _______ percent of voters in a Confederate state must take an oath of future loy