Help making arithmetic exception getting the square root

Recommended Answers

All 2 Replies

public void getArithmeticExceptionGettingSquareRoot() {
// Your code goes here..
}

Actually I was thinking something like this:

public double getSqrRoot( argument ) throws ArithmeticException {
  // code
}
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.