{"id":16105005,"url":"https://github.com/dbc2201/areaoftriangle","last_synced_at":"2025-04-06T02:30:02.282Z","repository":{"id":133011223,"uuid":"505106549","full_name":"dbc2201/AreaOfTriangle","owner":"dbc2201","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-19T13:28:59.000Z","size":17,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-12T08:39:47.699Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dbc2201.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-06-19T12:41:44.000Z","updated_at":"2022-08-21T02:29:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"591ff9a5-d4f1-491d-95de-3521a2f0c429","html_url":"https://github.com/dbc2201/AreaOfTriangle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbc2201%2FAreaOfTriangle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbc2201%2FAreaOfTriangle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbc2201%2FAreaOfTriangle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dbc2201%2FAreaOfTriangle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dbc2201","download_url":"https://codeload.github.com/dbc2201/AreaOfTriangle/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247425685,"owners_count":20937002,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-09T19:07:50.136Z","updated_at":"2025-04-06T02:30:02.271Z","avatar_url":"https://github.com/dbc2201.png","language":"Java","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Area of a Triangle\n\n## Java Programming Course\n\n---\n\n**Course 1**: Problem-Solving and Computational Thinking in Java\n\n**Sprint 4**: Use Operators and Conditional Constructs\n\n---\n\nProblem Statement\n---\n\nCalculate the area of a triangle using [Heron's Formula](https://en.wikipedia.org/wiki/Heron's_formula)\n\n$$area=\\sqrt{s(s-a)(s-b)(s-c)}$$\n\n$$s=\\frac{a+b+c}{2}$$\n\nWhere `a`, `b`, and `c` are the lengths of the sides of the triangle.\n\n---\n\nTask\n---\n\n1. Open the [source code file](src/main/java/io/github/dbc/TriangleAreaFinder.java) and complete the code.\n2. Open the [test case file](src/test/java/io/github/dbc/TriangleAreaFinderTest.java) and run the test cases to\n   check your code.\n\n---\n\nHint\n---\n\nUse either the [Math.sqrt()](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Math.html#sqrt(double))\nor [Math.pow()](https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/lang/Math.html#pow(double,double)) method to calculate the value of the `area`.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbc2201%2Fareaoftriangle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdbc2201%2Fareaoftriangle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdbc2201%2Fareaoftriangle/lists"}