Question: Write a program that will compute the area of a triangle. The program will read the base and height values and display the area.
Write a program that will compute the area of a triangle. The program will read the base and height values and display the area. The following is an example of running the program. The example illustrates the messages used to read data and to display the area. Enter base: 7 Enter height: 5 Area is: 17.5
Step by Step Solution
3.38 Rating (151 Votes )
There are 3 Steps involved in it
Below is a simple Python program that takes input for the base ... View full answer
Get step-by-step solutions from verified subject matter experts
