X693: Multiple Comparisons in C++

Complete the code so that the variable polarity is -1 when adding first and second is negative, but polarity is 1 when adding first and second is positive, and polarity is 0 when adding first and second is exactly zero.

Your Answer:

Feedback

Your feedback will appear here when you check your answer.