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

This is the problem on my grandson's homework The difference between two numbers is 361. What might the numbers be? Show 2 different possible solutions?
How do I complete the table??
How do I complete the table??
When Ralph, Jack, and Roger are searching for the Beast on the mountain, Ralph realizes that they are foolish to climb the mountain in the dark with only sharpe
What was Shaw's main motivation for writing plays? providing "robust" entertainment showing how people can change their environment overthrowing the upper class
A person’s long-lasting manner of behaving throughout a variety of situations is most likely influenced by __________. A. personality traits B. level of intelli
Can someone help me figure out what was so different about the new child eyes from the book The Giver.
Sam wants to grow in his current role, and he decides to take a three-month skill enhancement course. Sam is d
Which of the following ecosystems is located in a semiarid climate region, is prone to drought, and is a transition zone between a desert area and a tropical gr
a DVD priced $17.50 cost $18.81 after tax. what is the percent if sales tax