Answer to Question #24519 in Java | JSP | JSF for Lauren
How would I code this algorithm into Java to multiply to custom BigInts?
/* An Example of Algorithm (921 * 54)
* [1,2,9] <- a reversed
* [4,5] <- b reversed
* revProd = [0,0,0,0,0] <- initial revProd
* summand = [1,2,9]*4 = [4,8,6,3], revProd = [4,8,6,3,0]
* summand = (0)[1,2,9]*5 = (0)[5,0,6,4], revProd = [4,3,7,9,4]
* product = [4,9,7,3,4]
*/
0
Answer in progress...
Need a fast expert's response?
Submit order
and get a quick answer at the best price
for any assignment or question with DETAILED EXPLANATIONS!
Learn more about our help with Assignments:
JavaJSPJSF
Comments
Leave a comment