Private Function check(ByVal a As Integer,ByVal b As Integer,ByVal c As Integer) As bool
If Not a + b > c Then Return False
If Not a + c > b Then Return False
If Not c + b > a Then
Return False
Else :Return True
End If
End Function
参数abc分别是3个边,根据两点间直线最短原理来判断三边是否可以构成三角形.