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

among a group of students 50 played cricket 50 played hockey and 40 played volleyball. 15 played both cricket and hockey 20 played both hockey and volleyball 15
Jamar rolls a 6-sided number cube with the numbers 1 through 6 on it. What is theprobability that he does not roll a prime number?​
Financial statement data for the year ending December 31 for Navajo Company follow: Sales $2,550,000 Net income 1,258,000 Fixed assets (net): Beginning of year
Help, show work please.
please I need help please​
(A) USA Patriot Act of 2001 (B) Equal Pay Act of 1963 (C) Americans with Disabilities Act of 1990 (D) Civil Rights Act of 1964 Ms. Ramos has rescheduled Anna's
The tee for the sixth hole on a golf course is 400 yards from the tee. On that hole, Marsha hooked her ball to the left, as sketched below. Find the distance be
solution for x+4 is equal to 10​
] You are scheduled to receive $20,000 in two years. When you receive it, you will invest it for six more years at 8.4 percent per year. How much will you have
GoSnow sells snowboards. Each snowboard requires direct materials of $128, direct labor of $53, and variable overhead of $63. The company expects fixed overhead