Question: Can someone make me a table like the one shown except for division by repeated subtraction? Here's my algorith so you can do which variable

 Can someone make me a table like the one shown except

Can someone make me a table like the one shown except for division by repeated subtraction? Here's my algorith so you can do which variable (a and b) belongs to which function,

Algorithm for Division by repeated subtraction

Get values for a and b

If (b = 0)

Print cannot divide by 0 error.

else

Set the value of count to 0

While (a>b) do

Set value of a to (a-b)

Set value of count to (count + 1)

End of loop

Set value of quotient to count

Set the value of remainder to a

Print quotient and remainder

Stop

bcount product 67 4 0 1 2 3 4 0 67 134 201 268

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!