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

The lines graphed below are parallel.the slope of the slope of red line is 2/5 .what is the slope of the green line
Given the frequency table, what percentage of the students in grades 9–10 like rap music? Round to the nearest whole percent. Band Preference for School Dance
what situation would most likely create tension in a story
Jade decided to rent movies for a movie marathon over the weekend. the function g(x) represents the amount of money spent in dollars where x is the number of mo
An electric field of 8.20 ✕ 105 V/m is desired between two parallel plates, each of area 25.0 cm2 and separated by 2.45 mm. There's no dielectric. What charge m
Choose the statement(s) that is/are true about the ratio \frac{C_p}{C_v} C p C v for a gas? (Ii) This ratio is the same for all gases. (ii) This ratio has a val
Simplify this expression. 3w+7-5r+2-r​
What is the difference between the field of sociology to the field of psychology
The combustion of titanium with oxygen produces titanium dioxide: Ti (s) + O2 (g) → TiO2 (s) When 2.060 g of titanium is combusted in a bomb calorimeter, the te
Determine whether f(x) = –5x^2 – 10x + 6 has a maximum or a minimum value. Find that value and explain how you know. Short explanation please.