Dorsa R.

asked • 08/28/20

C programming :

please write a program to multiply and divide two numbers with 50 digits.

Patrick B.

Now for division, you build a multiplication table and check to see which multiple of the divisor gives the largest possible partial product. That digit is the first in your quotient. You then subtract that partial product off, and repeat the steps... Ex. 123/45 ->> 45*1 = 45, 45*2=90, 45*3 = 135 <-- too big the first digit in the quotient is 2. 123-90 = 33
Report

08/29/20

2 Answers By Expert Tutors

By:

Patrick B. answered • 08/29/20

Tutor
4.7 (31)

Math and computer tutor/teacher

Patrick B.

lol... don't want to use extra libraries but you call atoi
Report

08/29/20

Charlie M.

tutor
oops my answer was basically psuedocode anyway
Report

08/30/20

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.