Calculate the area of a triangle
GIven base and height, return the area of a triangle. If the given values are decimal numbers, return the area value in two decimal places.
Sample Code:
def areaTri(base,height):
# Enter your logic here...
Examples:
Input: 10,20
Output: 100
Explanation: 100 is the area of a triangle given with the values of both base and height.
Input: 3.12,2.34
Output: 3.65
Explanation: 3.65 is the result after rounding off to two decimal places.