gistlib
main.m% Inputs radius = 3; height = 4; % Calculate volume of cone volume = (1/3) * pi * radius^2 * height; % Display the volume disp(['Volume of cone is: ', num2str(volume)]); 172 chars10 lines
% Inputs radius = 3; height = 4; % Calculate volume of cone volume = (1/3) * pi * radius^2 * height; % Display the volume disp(['Volume of cone is: ', num2str(volume)]);
gistlibby LogSnag