Skip to content

Opening book details…

About this document

Automated Triangle Area Calculator by Oswi Dunkel is a document available to read on EtoBox.

This document contains code for calculating the area of two different types of triangles - a right triangle and an equilateral triangle - in a Visual Basic .NET application. For a right triangle, the code takes in the base and altitude as user input, calculates the area as base x altitude / 2, and displays the result. For an equilateral triangle, the code takes in the length of one side as input, uses trigonometric functions to calculate the area as √3 x base2 / 4, and displays the result.

Author
Oswi Dunkel
Language
EN