hi reddit!
Admin Password
cylinder_total()

//argument0 = cylinder's base radius
//argument1 = cylinder height


var total base area;

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

return total
View count: 112

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