Question: Write a program which calculates the area of a triangle and displays the width, height, and area to the console. The weight and height of

 Write a program which calculates the area of a triangle and

Write a program which calculates the area of a triangle and displays the width, height, and area to the console. The weight and height of the triangle shall be stored as a variable that is initialized to a value of your choosing. The value maybe a floating number. Output example: The width is: 3 The height is: 5 The area of the triable is: 7.45

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!