Hello,
Create a function that will add two positive numbers of indefinite size. The numbers are received as strings and the result should be also provided as a string.
solution 1
Can you explain to me why using carry(why need to take 1 if sum greater then 10)? and why we have to do mudular division and why need to add digitsum and carry
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hello,
Create a function that will add two positive numbers of indefinite size. The numbers are received as strings and the result should be also provided as a string.
solution 1
Can you explain to me why using carry(why need to take 1 if sum greater then 10)? and why we have to do mudular division and why need to add digitsum and carry