re: Daily Challenge #84 - Third Angle of a Triangle VIEW POST

TOP OF THREAD FULL DISCUSSION
re: What happens if I enter thirdAngle(0,0)?
 

Good catch. Edited. But the challenge is to deal with positive integers so didn't take 0 into account as it is neither positive nor negative integer.

True enough. But why code purely for specs when coding for the edge and error cases takes just a few more minutes?

code of conduct - report abuse