Triangle (Algorithm) - Area of a triangle is defined by 0.5 * Base * Height. Write the algorithm to input Base and Height, then calculate and output the area of a triangle. Write the requirement analysis (input and output) and the algorithm in the answer box. For example, if the base is 4 and height is 5, then the area will be 10.
For the toolbar, press ALT+F10 (PC) or ALT+FN+F10 (Mac).
BIUS Paragraph Arial 14px.