Skip to content

Have fun creating your very own triangles using the Triangle Tracker! Depending on your input, you can create equilateral, isosceles and scalene triangles.

Notifications You must be signed in to change notification settings

Joy-Wanjiru/Triangle-Tracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

            TRIANGLE TRACKER

            AUTHOR: Muhia Joy Wanjiru

PROJECT DESCRIPTION: This program allows users to enter dimensions of triangles and depending on the input, they are able to find the type of triangle they've created.

SETUP INSTRUCTIONS: A user should enter dimensions of a triangle in the input fields provided then click on the Answer button to find out the type of triangle they've created.

PROJECT BREAKDOWN: The program allows a user to enter numbers in the given input fields. The dimensions to be analyzed have to be 3 in total, i.e., sideAB, sideAC and sideBC. After assessment, the user is notified about what type of triangle has the given dimensions. If the user enters 3 exact numbers in the input fields, then they get an alert notifying them that they've created an Equilateral triangle. If the user enter similar dimensions for any two sides, they create an Isosceles triangle. If all the dimensions entered are different, they get a Scalene triangle. Finally, if the sum of any two dimensions of the triangle is less than or equal to the length of the 3rd side, they get an alert that they haven't created a triangle.

LIVE LINK: Visit the website at https://joy-wanjiru.github.io/Triangle-Tracker/

LICENSE: The MIT License

Copyright (c) 2010-2018 Google, Inc. http://angularjs.org

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

Have fun creating your very own triangles using the Triangle Tracker! Depending on your input, you can create equilateral, isosceles and scalene triangles.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published