java.lang.ArithmeticException: / by zero

Coderanch | Angela Li | 5 years ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Having trouble writing a method that factors negative numbers.

    Coderanch | 5 years ago | Angela Li
    java.lang.ArithmeticException: / by zero

    Root Cause Analysis

    1. java.lang.ArithmeticException

      / by zero

      at QuadraticEqn.getIntegerFactors()
    2. Unknown
      QuadraticEqn.main
      1. QuadraticEqn.getIntegerFactors(QuadraticEqn.java:51)
      2. QuadraticEqn.main(QuadraticEqn.java:9)
      2 frames