Computer Science, asked by joydeepshubhadeep, 5 months ago

write a program in Python to find the area of triangle .(area=1/2*(base*height) 2)​

Answers

Answered by anindyaadhikari13
5

Question:-

  • Write a program in python to find the area of a triangle.

Program:-

b=float(input("Enter the base: "))

h=float(input("Enter the height: "))

a=(base*height)/2

print("Area is: ",a)

Similar questions