Question: Write a program that will read the base and height of a triangle. Using a function, compute for the area of the triangle using the

 Write a program that will read the base and height of

Write a program that will read the base and height of a triangle. Using a function, compute for the area of the triangle using the formula: Area = base * height/2 Requirement: Function with parameter and return value Sample output: Enter base 3 Enter height 5 Area 7.5

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!