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

In triangle ABC, ∠ABC=70° and ∠ACB=50°. Points M and N lie on sides AB and AC respectively such that ∠MCB=40° and ∠NBC=50°. Find m∠NMC.
Which graph represents a function?
The requirement to earn all the necessary degree in Law​
2.1x10^8 is how many times the value of 4.2x 10^2
Help please!! Thank you
CHALLENGE ACTIVITY 3.7.2: Type casting: Reading and adding values. Assign totalowls with the sum of num_owls A and num_owls_B. Sample output with inputs: 34
a table was sold at 20%loss but had it sold for RS 160 more these would have been a profit 20%. find cp​
How many significant figures are in 0.08260 L? 4 5 6
Several years ago, two scientists announced that they had evidence of "cold fusion" in the laboratory, but further studies failed to replicate their findings, a
Nefchio is a popular website among online gamers. It uses interactive and collaborative features to create a richer, more interesting, and more useful experienc