in sudo code
mul(x y){
accum = 0;
loop x times{
accum = y + accum;
}
}
I hope I am not answering some ones home work.
=when you multiply negative integers the answer is going to be negative because n-multiply by n- equals n+ but when yu multiply n+ by n- it equals n- so you basicly multiply the numbers and the answer would be ah negative.==when you multiply negative integers the answer is going to be negative because n-multiply by n- equals n+ but when yu multiply n+ by n- it equals n- so you basicly multiply the numbers and the answer would be ah negative.=
Closure of the set of integers under addition.
Multiply the negatives and subtract from the sum of the positives.
Integers are the natural numbers (counting numbers: 1,2,3,etc.), and their negative counterparts, and zero. The set of Integers is closed for addition, subtraction, and multiplication, but not division. Closed means that the answer will be a part of the set. Example: 1/3 (1 divided by 3 equals one third) is not an integer, even though both 1 and 3 are integers.
Multiply means for example multiply 10 times 10 equals 100 so multiply means times by in maths
Integers are whole numbers: 1, 2, 3, and so on. Example: 1 + 1 = 2 (one plus one equals two).
It's an example of addition.
One example of such a sum involving positive integers is: 204/2 = 102
The Abelian (commutative) property of integers under addition.
When you multiply a number by itself it equals the number in question to the power of two. For example, 4x4=16, but 4^2 also equals 16.
The answer is the commutative property of addition.
Multiply for example: a*a*a = a^3 3*3*3 =27 which equals =3^3