Question: Write a function that computes the area of a triangle given its base and height. The formula for an area of a triangle is: AREA

Write a function that computes the area of a triangle given its base and height. The formula for an area of a triangle is: AREA 1/2 BASE HEIGHT For example, if the base was 5 and the height was 4, the area would be 10 triangle area(5,4); # should print 10 Your function must be named triangle area Note: Be sure to Include comments for all functlons that you use or create.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!