git.go-v.org

memetibryan/Triangles-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.

source: Software Heritage origin index (GitHub origins)licence: Per source; see source termsdatabase: git.dbmode: tablerecords: 56681612 (max_rowid)citation: —

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 full text or abstract (807 characters)

Cite this record

MLA
"memetibryan/Triangles-ruby." Software Heritage origin index (GitHub origins), n.d., https://git.go-v.org/record/memetibryan%2FTriangles-ruby.

Chicago
"memetibryan/Triangles-ruby." Software Heritage origin index (GitHub origins). n.d.. https://git.go-v.org/record/memetibryan%2FTriangles-ruby.

APA
Software Heritage origin index (GitHub origins). (n.d.). memetibryan/Triangles-ruby. https://git.go-v.org/record/memetibryan%2FTriangles-ruby

Share card · JSON record · Embed

Save to pass ·

source: Software Heritage origin index (GitHub origins)licence: Per source; see source termsyear: —id: memetibryan/Triangles-rubycitation: https://git.go-v.org/record/memetibryan%2FTriangles-ruby

JSON · JSON download · CSV · full text · full-text JSON ·

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.