Given lengths of two sides of triangles $a$ and $b$, I want to calculate the number of possible integral values of length of third side $c$.
I know that range should be : $a-b
Now this is full range for that third side but it also side which will make degenerate triangle $(Area\le 0)$. How do I exclude those sides which make degenerate triangle ?