Study guides

☆☆

Q: Declare an integer called sum

Write your answer...

Submit

Still have questions?

Related questions

A positive integer plus a positive integer is equal to a positive integer. For example, 2 + 2 = 4. The two digits being added together are called the addends, while the answer is called the sum.

declare integer a = 5 declare integer b = 2 declare integer c = 3 declare integer result set result = a + b * c display result

Dim intNumber As Integer

sum of positive integers will be a positive integer

No. The sum of a positive integer and a negative integer has the same sign as the larger integer.

Yes the sum of two integers will always be an integer.

The sum of a positive integer and a negative integer is positive when the positive integer is greater. For example: 9 + (-5) = 4 In this case, the positive integer 9 is greater than the negative integer 5. Therefore, the sum is positive.

Another even integer.

the positive integer

It depends, if a number with positive integers is greater than the number with the negative integer therefore the sum will be in positive integer. And if the number with positive integer is less than the number with the number with negative integer then the sum will be in negative integer.

The statement is: "Their sum is always an integer." Whether the sum is negative or positive depends on the two original integers.

It is an integer.

People also asked