Question
******HELP***** ------ C++ Programming-------- Accurate multiplication obeys this rule: the product of the ith digit of one number and the jth digit of the other
******HELP*****
------ C++ Programming--------
Accurate multiplication obeys this rule: the product of the ith digit of one number and the jth digit of the other number is added to any number in the (i + j)th column of the product. If this sum is greater than 10 then the remainder of the sum divided by 10 remains in the (i + j)th column and the quotient of the sum divided by 10 is added to any number in the (1 + i + j)th column.
Applying this rule, an accurate multiplication of 23 and 19 with carries follows:
9 x 3 = 27. The 2 carries to the first column of the product and the 7 appears in the zeroth column of the product..
9 x 2 = 18 where the 8 is in the first column of the product and the 1 is in the second column of the product. We add the 2 from the first multiplication in the first column to the 8 in the first column. 8 + 2 = 10. The 0 appears in the first column of the product and 1 carries the second column of the product. A 1 is already in the second column of the product. Therefore we add this 1 to the 1 that is already there.
At this stage of the multiplication, 9 x 23 equals the product is 207.
We now multiply 1 x 23. 1 x 3 = 3 in the first column of the product. We add the 3 to the 0 that is already in the first column: 0 + 3 = 3. We multiply the 1 in the first column of 19 by the 2 in the first column of 23. 1 x 2 = 2 which appears in the second column of the product. We add this 2 to the 2 that is already in the second column. Now 4 is in the second column of the answer. The final answer is 437.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started