Pls help me write an algorithm for finding area of 2D and 3D objects | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Pls help me write an algorithm for finding area of 2D and 3D objects

13th Aug 2016, 3:55 AM
Brownskin Ivanston DL
Brownskin Ivanston DL - avatar
2 Answers
+ 1
Know the formula, create a casa of shapes, create the different shapes as objects. Then define the formula in each objects of the shape you create, and you're good
31st Oct 2016, 9:05 PM
Adedeji Ibrahim
Adedeji Ibrahim - avatar
0
One word; "Math". Just google the different formulars for both 2D and 3D objects. Like the area of a square is length * hight, and a circle is pi * r^2.
13th Aug 2016, 10:15 AM
Jakob Sutton
Jakob Sutton - avatar