Write a c++ program that calculates the area of an arbitrarily shaped plane figure. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
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.

16th Jun 2018, 1:43 PM
Nkiruka
Nkiruka - avatar
3 ответов
+ 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?
18th Jun 2018, 3:02 AM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
0
Yes it should
18th Jun 2018, 8:19 PM
Nkiruka
Nkiruka - avatar
0
19th Jun 2018, 5:52 AM
Kinshuk Vasisht
Kinshuk Vasisht - avatar