DEV Community

Discussion on: Daily Challenge #84 - Third Angle of a Triangle

Collapse
 
thepeoplesbourgeois profile image
Josh • Edited

What happens if I enter thirdAngle(0,0)?

Collapse
 
lormayna profile image
lormayna

you are right, I just wrote it very fast and I did not think about this case.
TDD will help a lot in these situations.