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

Which word in the sentence, if any, should be followed by a comma? Our dog is a retriever which is a type of dog bred for hunting. A. retriever B. dog C. Th
Why did Japan enter World War I on the Allied Forces' side? A. It had a previous treaty of alliance established with England. B. It was angered when Germany beg
The geological theory that states that the pieces of Earth's surface are in the constant, slow motion is
A number between 10 and 20 is both a factor of 60 and a multiple of 6. What is this number?
A circle has a diameter of 6 cm. What is its area? 18.84 cm 2 37.68 cm 2 28.26 cm 2 9.42 cm 2
Which is a drawback of point-and-shoot camera? A. They dont use flash memory B. You must take then to the store to process photos C. They are expensive D. You c
How do simple machines make work easier? A.They change the strength or direction of a force. B.They maintain the distance of a force. C.They apply force quickl
Solve the equation -3 2/5 + b = 8 1/5
Which expression is equivalent to a^2/3.
plz help me with my homework