203k views
1 vote
A, B and C are integers. If B is greater than A, then the sum of A and B will always produce a solution C with the same sign as B. True or false?

1 Answer

6 votes
This would be false because it will depend on the actual values of both a and b, including if they are positive or negative.

This is true.

For example :

B = -6
A = -9

A + B = C = -6 + -9 = -15.

The value is C has the same sign as B.

B = 2
A = -5

A + B = -5 + 2 = -3.

Here The sign for C does not match the sign for B, which is positive.

User Jasper Huzen
by
8.7k points

No related questions found

Welcome to QAmmunity.org, where you can ask questions and receive answers from other members of our community.

9.4m questions

12.2m answers

Categories