answersLogoWhite

0

Declare an integer called sum

Updated: 9/16/2023
User Avatar

Wiki User

11y ago

Best Answer

sum:integer;

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Declare an integer called sum
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

The sum of a positive integer and a positive integer is?

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.


How would you write Visual Basic Code to declare an Integer variable called intNumber?

Dim intNumber As Integer


The sum of a positive integer?

sum of positive integers will be a positive integer


Is the sum of a positive and negative integer always negative?

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


When is the sum of a positive integer and a negative integer positvie?

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.


The sum of two integers is an integer?

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


What is The sum of an even integer and an even integer is?

Another even integer.


Is it true that the sum of a negative integer and a positive integer is always positive?

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.


What stament is always trueabout the sum of a negtive integer and positive integer?

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


What is the sum of zero and a positive integer?

the positive integer


What is the sum of a positive even integer and the next greater positive integer?

It is an integer.


How do you declare an integer?

datatype variable name;