Java Classes: A BigInt class, part 2

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

Regarding the add() method, how might one determine the number of digits within the array, excluding 0's that are not part of the number?


Normally I'd just go over it with a loop and iterate when the value at the specified index is != 0, but this doesn't work because it can't differentiate 0's that are part of the number vs. 0's that precede the number in the array.

klekaelly
visit shbcf.ru