Write a program to accept Base and Height of a triangle. Calculate
Area of a triangle.
Where Area of a triangle = 1⁄2 Base X Height
Answers
Answered by
5
Answer in Python:
base = int(input("Enter Base Of Triangle: "))
height = int(input("Enter Height Of Triangle: "))
area = str((base/2) * height)
print("The Area Of The Triangle Is: " + area)
Similar questions