answersLogoWhite

0


Best Answer

in sudo code

mul(x y){

accum = 0;

loop x times{

accum = y + accum;

}

}

I hope I am not answering some ones home work.

User Avatar

Wiki User

16y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: How do you write Java method to multiply two integers using addition Example -4 times 6 equals -6 plus -6 plus -6 plus -6?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

How do you multiply 3 negative integers?

=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.=


What property is integer plus integer equals integer?

Closure of the set of integers under addition.


How can you make the integers -3 5 15 -9 equals -7?

Multiply the negatives and subtract from the sum of the positives.


What are the characteristics of integers?

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.


What does multiply stand for?

Multiply means for example multiply 10 times 10 equals 100 so multiply means times by in maths


How do we add integers?

Integers are whole numbers: 1, 2, 3, and so on. Example: 1 + 1 = 2 (one plus one equals two).


What is 40 plus 40 equals 80?

It's an example of addition.


What divide by what equals 102?

One example of such a sum involving positive integers is: 204/2 = 102


What property does the equation 19 plus 11 equals 11 plus 19 settle in?

The Abelian (commutative) property of integers under addition.


To multiply a number by itsself?

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.


1 plus 2 equals 2 plus 1 is an example of what addition property?

The answer is the commutative property of addition.


Do you add or multiply to get a cubed number?

Multiply for example: a*a*a = a^3 3*3*3 =27 which equals =3^3