Question: Please write the code in C++. ****READ ALL DIRECTIONS PLEASE**** Sample output would be printf(With the given verticies (%0.2f,%02.f),(%0.2f,%0.2f),(%0.2f,%0.2f), the area of the triangle is
Please write the code in C++. ****READ ALL DIRECTIONS PLEASE****

Sample output would be
printf("With the given verticies (%0.2f,%02.f),(%0.2f,%0.2f),(%0.2f,%0.2f), the area of the triangle is %f. ",vert1,vert2,vert3,area);
1. (USE ARRAY and POINTER FOR THE Vertices and Lengths!) Create a script that will take user input of 3 vertices to calculate the area of a triangle by using Heron' Formula. You will need the "pow" function in "math.h" header file. mathwarehouse.com Heron's Formula S- A+B+C 2 AreaVS(S - A)(S - B) (S C) Your output should have the format of -With the given vertices (Display Vertices) the area of the triangle is (The result.) Conditions All Vertices have to be included in a single ARRAY and its pointer! Lengths A, B, and C have to be included in a single ARRAY and its pointer! All the computation has to be done by using POINTER ONLY
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
