% % targil3_conus.m : compute the volume of th econus. % pi is a system word. % for i=1:3 disp(['the case:'num2str(i)]); r=input('enter r'); h=input('enter h'); v=(pi*r^2*h)/3; disp(['v= ' num2str(v)]); end