https://github.com/heyfoz/cpp-triangle-area-functions
The Triangle Area Functions Program (C++) uses a loop to ask the user 1 of 2 methods to calculate the area of a triangle. The 1st method calculates the area with the base & height values, while the 2nd calculates the area with all 3 sides. Calculated values are printed to the console as output.
https://github.com/heyfoz/cpp-triangle-area-functions
area calculations cpp geometry triangle
Last synced: 6 months ago
JSON representation
The Triangle Area Functions Program (C++) uses a loop to ask the user 1 of 2 methods to calculate the area of a triangle. The 1st method calculates the area with the base & height values, while the 2nd calculates the area with all 3 sides. Calculated values are printed to the console as output.
- Host: GitHub
- URL: https://github.com/heyfoz/cpp-triangle-area-functions
- Owner: heyfoz
- License: mit
- Created: 2022-11-13T00:25:47.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-11-13T00:29:08.000Z (almost 3 years ago)
- Last Synced: 2025-01-30T05:11:47.904Z (8 months ago)
- Topics: area, calculations, cpp, geometry, triangle
- Language: C++
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# cpp_triangle_area_functions
The Triangle Area Functions Program (C++) uses a loop to ask the user 1 of 2 methods to calculate the area of a triangle. The 1st method calculates the area with the base & height values, while the 2nd calculates the area with all 3 sides (Heuron's Formula).Calculated values are printed to the console as output, and the program loops until the user chooses to exit.
Link to .cpp file: Triangle Area Functions C++ Program
Copyright (c) 2022 ffm5113