# memetibryan/Triangles-ruby

- **Source:** Software Heritage origin index (GitHub origins)
- **Licence:** Per source; see source terms
- **Citation:** https://git.go-v.org/record/memetibryan%2FTriangles-ruby
- **Canonical:** https://git.go-v.org/record/memetibryan%2FTriangles-ruby
- **JSON:** https://git.go-v.org/api/v1/record/memetibryan%2FTriangles-ruby

Create a Triangle class that includes methods for initializing new triangles and determining what triangle type. Keep in mind that not all combinations of three numbers make valid triangles. For example, (2, 2, 8) does not make a triangle.  When your unit testing on your Triangle class is complete, make a web page that lets the user input the lengths of the sides of a triangle, and tells whether they form an equilateral, isosceles, or scalene triangle.  Here are the Triangle rules you'll need:      equilateral: all sides are equal;     isosceles: exactly 2 sides are equal;     scalene: no sides are equal.     NOT a triangle: the sum of the lengths of any two sides of a triangle is less than or equal to the length of the third side.  Make sure to track your project in Git and create a README file.

Read-only public data; missing values are published as no-data and never estimated. Operated by Anticloud FZ LLE — Lois-Kleinner Alpasan.