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

Calculate the minimum power output of an electric motor that lifts a 1.30 × 10^4-newton elevator car vertically upward at a constant speed of 1.50 meters per se
What is the difference between weight and mass
rewrite 9(10 x) in distributive property
Pure water is a(n) _____. element compound mixture solution
What do all 3 forms of the quadratic equation (General/standard, vertex, factor) have in common?
Part III Answer all 3 questions in this part. Each correct answer will receive 3 credits. Clearly indicate the necessary steps, including appropriate formula su
Describe how three common types of precipitation form.
At the Berlin Conference, European powers agreed that, in order to claim part of Africa, a European power had to a. establish missions there to spread the Chri
After a coup d’etat in Spain overthrew the government, Augustin de Iturbide proclaimed
Which two features are commonly found at divergent plate boundaries? (1) mid-ocean ridges and rift valleys (2) wide valleys and deltas (3) ocean trenches and su