summaryrefslogtreecommitdiff
path: root/go/triangle/triangle.go
blob: 72433756a6e3d29e6802a8de281fff9e9694a72f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package triangle

const testVersion = 2

// Code this function.
func KindFromSides(a, b, c float64) Kind

// Notice it returns this type.  Pick something suitable.
type Kind

// Pick values for the following identifiers used by the test program.
NaT // not a triangle
Equ // equilateral
Iso // isosceles
Sca // scalene

// Organize your code for readability.