java.lang.ArithmeticException: / by zero

Stack Overflow | VMi | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Why does int value increment to negative and not break given loop?

    Stack Overflow | 7 months ago | VMi
    java.lang.ArithmeticException: / by zero

    Root Cause Analysis

    1. java.lang.ArithmeticException

      / by zero

      at ProjectEulerProb12HighestDivisorTriangNumb.getDivCount()
    2. Unknown
      ProjectEulerProb12HighestDivisorTriangNumb.main
      1. ProjectEulerProb12HighestDivisorTriangNumb.getDivCount(ProjectEulerProb12HighestDivisorTriangNumb.java:47)
      2. ProjectEulerProb12HighestDivisorTriangNumb.getNaturalnumb(ProjectEulerProb12HighestDivisorTriangNumb.java:20)
      3. ProjectEulerProb12HighestDivisorTriangNumb.main(ProjectEulerProb12HighestDivisorTriangNumb.java:8)
      3 frames