clc
clear
disp('Zhoria Renfus')

function V=Volume_Sphere (r)
V= (4/3)*pi*r^3;
endfunction


r=10
VS= Volume_Sphere (r)

function V= Volume_Cylinder (r,h)
V= pi *r^2 *h 
endfunction

h=2
VC= Volume_Cylinder (r,h)

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: