hi reddit!
Admin Password
trpyramid_volume()

//It finds the volume of a triangle pyramid

//argument0 = width of the pyramid's base
//argument1 = height of the pyramid's base
//argument2 = pyramid's height

var pyramid base;

base = (argument0*argument1)/2;
pyramid = (base*argument2)/3;

return pyramid
View count: 64

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