Skip to content

Write a program that can tell you if a triangle is equilateral, isosceles, or scalene.

Notifications You must be signed in to change notification settings

simplonco/js-triangle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The program should raise an error if the triangle cannot exist.

Tests are provided, delete one skip at a time.

Hint

The sum of the lengths of any two sides of a triangle always exceeds the length of the third side, a principle known as the triangle inequality.

About

Write a program that can tell you if a triangle is equilateral, isosceles, or scalene.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published