hi reddit!
Admin Password
recpyramid_total()

//it finds the total area of a rectangle pyramid

//argument0 = pyramid's base width
//argument1 = pyramid's base height
//argument2 = pyramid apothem

var total base area;

base = argument0*argument1;
area = (2*argument0)+(2*argument1)*argument2/2;
total = base+area;

return total
View count: 87

Enjoy the site? Donations are helpful - even just $1


Free Text Host is brought to you by Dagon Design
This site contains no adware, spyware, or popups
Questions? Comments?           Report abuse here