1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
Anarel [89]
4 years ago
8

Give a recursive (or non-recursive) algorithm to compute the product of two positive integers, m and n, using only addition and

subtraction ?
Computers and Technology
1 answer:
LiRa [457]4 years ago
6 0

Answer:

Multiply(m,n)

1. Initialize product=0.

2. for i=1 to n

3.      product = product +m.

4. Output product.

Explanation:

Here we take the variable "product" to store the result m×n. And in this algorithm we find m×n by adding m, n times.

You might be interested in
What is by far the most popular dns server software available?.
JulijaS [17]

Answer:

I use the server

8.8.8.8

and

8.8.4.4

Explanation:

6 0
3 years ago
Using the POP standard for client to server e-mail communication, the e-mail messages remain on the server computer. True False
Gelneren [198K]

Answer:

False

Explanation:

8 0
3 years ago
What is the benefit of an intranet?
garik1379 [7]

Answer:

1. Access and share internal information quickly and safely

Explanation:

8 0
3 years ago
We can use formatting before and after typing.​
Anika [276]

Answer:

i dont know but thanks for marks

8 0
3 years ago
Whoever reads this can you ask more undertale questions plz
sineoko [7]

this is not a question

5 0
4 years ago
Read 2 more answers
Other questions:
  • Lisa adds her co-worker Renald to a meeting and removes her secretary Olivia from the meeting. What will happen as a result?
    14·2 answers
  • What is the function of a data bus
    11·1 answer
  • Which best describes a VPN?
    14·2 answers
  • Answer these two if u can❤️
    5·2 answers
  • Difference between softcopy and hardcopy​
    8·2 answers
  • Suppose a classmate constructed an electric motor with a solid commutator.that is, the commutator has no split. This solid commu
    9·1 answer
  • When the amount of storage data is big, and we need the searching and insertion must be very fast, which kind of data structure
    9·1 answer
  • A professional-looking portfolio gives a clear message. What does it convey?
    13·1 answer
  • Jacob develops a new app that will display the current weather centered on a user's location and notify the user in the case of
    7·2 answers
  • question 2 what are some types of software that you'd want to have an explicit application policy for? check all that apply.
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!