There is 2D block consisting of X points having location as (p, q) where p = 1, 2, 3. Now you have to choose every triplet of these X points and imagine am equatorial triangle shape and develop a C++...


There is 2D block consisting of X points having location as (p, q) where p = 1, 2, 3. Now you<br>have to choose every triplet of these X points and imagine am equatorial triangle shape and<br>develop a C++ code to find the areas of all the equatorial triangles.<br>Sample Input:<br>1 2<br>23<br>13<br>Output:<br>0.500000<br>

Extracted text: There is 2D block consisting of X points having location as (p, q) where p = 1, 2, 3. Now you have to choose every triplet of these X points and imagine am equatorial triangle shape and develop a C++ code to find the areas of all the equatorial triangles. Sample Input: 1 2 23 13 Output: 0.500000

Jun 04, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here