java-algorithms-implementation icon indicating copy to clipboard operation
java-algorithms-implementation copied to clipboard

Fixed #165. Fixed a bug where multiplication with zero caused an error

Open akerfel opened this issue 2 years ago • 0 comments

The function multiplyUsingLoopWithStringInput in Multiplication.java can now handle zero inputs. Also added branch coverage for this.

See issue #165 for more details.

By submitting this pull request I confirm I've read and complied with the below requirements.

  • [x] I have read the Contribution guidelines and I am confident that my PR reflects them.
  • [x] I have followed the coding guidelines for this project.
  • [x] My code follows the skeleton code structure.
  • [x] This pull request has a descriptive title. For example, Added {Algorithm/DS name} [{Language}], not Update README.md or Added new code.

akerfel avatar Mar 09 '22 02:03 akerfel