Computers and Technology, 02.02.2021 20:10 Enjay4198
5.2.4: Area of Triangle
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 functions that you use or create.
Answers: 3
Computers and Technology, 22.06.2019 17:00
Which of the following is not contained on the slide show toolbar? a. next button b. slide button c. close button d. pen too
Answers: 2
Computers and Technology, 22.06.2019 19:30
Avariable definition defines the name of a variable that will be used in a program, as well as
Answers: 3
Computers and Technology, 23.06.2019 06:20
What is a point-in-time measurement of system performance?
Answers: 3
Computers and Technology, 23.06.2019 22:30
Apart from confidential information, what other information does nda to outline? ndas not only outline confidential information, but they also enable you to outline .
Answers: 1
5.2.4: Area of Triangle
Write a function that computes the area of a triangle given its base and he...
English, 18.09.2019 05:10
Mathematics, 18.09.2019 05:10
Mathematics, 18.09.2019 05:10
Mathematics, 18.09.2019 05:10
Biology, 18.09.2019 05:10
Chemistry, 18.09.2019 05:10
Mathematics, 18.09.2019 05:10