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

Image that you're able to fully dissolve a powered substance in water. What can be said about this creation
the distance from town a to town b is 5 miles and the distance from town b to town c is 4 miles. which of the following could Not be the distance, in mile from
We are going to the grocery store to buy some fruits and _____________. Which word is correctly spelled and will BEST complete this sentence? A) vegetables.
Write using algebra. If Jim is x years old now, and his sister is twice as old, how old was his sister 7 years ago?
What method can you conceive to get something out of a crevice?
Sand volcanoes are a good indication that ________ has occurred in an area.
Twenty-five members of the eighth grade class at Park Center Middle School are going to a museum and then to lunch. Each student must pay an entrance fee to the
What is 11/12 + (-7/12) in simplest form?
Which Chinese thinker believed that peace and stability could be brought to China if all people treated one another with respect? Tang Taizong Tokugawa Ieyasu C
On an uphill hike, Ted climbs at a rate of 3 miles an hour. Going down, he runs at a rate of 5 miles an hour. If it takes him 40 minutes longer to climb up than