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

3.8 to the nearest hundredth
1. The grocery store was selling variety bags of apples. Each bag contained x Braeburn apples, y Granny Smith apples, and z Honeycrisp apples. Zahra bought 2 ba
there are five people in a room each person shakes the hand of every person exacally once how many handshakes or exchanged
In the short story “Rules of the Game” by Amy Tan, how does Lindo Jong teach her children lessons? A) through silent disapproval B) through tearful outbursts c)
An acre is equal to 43,560 square feet, and there are 5280 feet in a mile. If a farm has the shape of a rectangle measuring 0.7 mile by 0.9 mile, what is the ar
Two students stand at rest, facing each other on frictionless skates. They then start tossing a heavy ball back and forth between them. Describe their subsequen
Describe the differences in the novel "The Outsiders"
a real world situation that represents-85÷15
13001 kg. express the number as an integer.
Why doesn’t Cecily want to study German?