Question: Write a function that computes the area of a triangle. In particular, the function takes inputs two integers w (as width) and h (as height),

Write a function that computes the area of a triangle. In particular, the function takes inputs two integers w (as width) and h (as height), and outputs the area of the triangle with width w and height h. You should think about what the output data type the function should return
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
