polygon_area()
//it only works with regular polygons
//argument0 = number of side
//argument1 = centreline
//argument2 = the measure of 1 side
var polygon;
polygon = (argument0*argument1*argument2)/2;
return polygon
This page has been viewed 45 times