Groupon 开发面试题 Dev Screen

2014-10-14 03:32:16 · 作者: · 浏览: 32




Please complete this coding question.



Coding Question1: Write me a function that receives three integer inputs for the lengths of the sides of a triangle and returns one of four values to determine the triangle type (1=scalene, 2=isosceles, 3=equilateral, 4=error). Generate test cases for the function assuming another developer coded the function