Question: by using C++ Exercise #4: Write a program that finds the area of a triangle given the base and the height of a triangle, the

by using C++ by using C++ Exercise #4: Write a program that finds the

Exercise #4: Write a program that finds the area of a triangle given the base and the height of a triangle, the area of a triangle is calculated using the formula: area = 1/2 * base * height Ask the user to enter the values for the input data base and height. Make sure you print the results in the similar way as in the exercise # 2: For example: The area of a triangle with base = print The Value and height = print The Value is = print The Value Submission: Save the file as hwl_ex4.cpp Triangle Solve for area h,b 2 A Enter value b Base hy Height Enter value 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!