Question: c++ programming 2. Second function to calculate the area of a triangle a. When this the function is called/invoked it will prompt a user to

c++ programming

c++ programming 2. Second function to calculate the area of a triangle

2. Second function to calculate the area of a triangle a. When this the function is called/invoked it will prompt a user to give input for the height, and width for a triangle in cm, then cm, then b. Calculate the area of a triangle (refer to Table 1) c. Display the area of a triangle including unit Please be creative on how you display your output Table 1 ITEM FORMULA Area of Circle TI * r2 Perimeter of Circle 2 * T *r Sphere Volume 4 3 *TI*p3 Area of Rectangular 1 * W Perimeter of Rectangular 2*l+2* W Area of Rectangular 1 *W Perimeter of Rectangular 2*1 + 2 *W O Area of Triangle 1 *W*h 2 Area of Trapezium 1 *h* (a + b) 2 (a+b)

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!