Question: Create a C++ program that will read the base and height of a triangle and calculate its area. Formula: Area = 0.5 (bh) Create a

Create a C++ program that will read the base and height of a triangle and calculate its area.

Formula:

Area = 0.5 (bh)

Create a C++ program that will read the base and height of a triangle and calculate its area.

Formula:

Area = 0.5 (bh)

Create a C++ program that will compute and display the slope of a line.

Given the formula:

y2-y1

slope = ---------

x2-x1

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!