0
Write a c++ program that calculates the area of an arbitrarily shaped plane figure.
Recall that The area of the triangle formed by two vectors is equal to half of the magnitude of the cross product of two vectors.
3 Réponses
+ 1
Can you give an example as to how you intend to input the shape?
Do you want the program to accept coordinates or direction vectors?
0
Yes it should
0
My try, using 2D Coordinates : https://code.sololearn.com/cst8nHU1o9Hk/?ref=app