Wednesday 20 July 2011

calculate the volume of the ball

formula for calculating volume of a sphere of volume sphere = 4/3.phi.r * r * r, phi can be 3.14 or 22 / 7 but here we use the 3.14 and the radius is specified by the user

The following example program check it out



final result like this


2 comments:

  1. Buy "Trey's Titanium Headphone" at Best Buy | T-Nation
    Read our titanium pot in-depth review of T-Nation's titanium flask top selling headphones, T-Nation flagship and T-Nation's best selling headphones.Pros and cons include: Very titanium wedding band comfortable - Very comfortable - Very comfortable - Excellent sound quality ⋅ Buy Quality headphones for PC ⋅ Buy Quality headphones for PS4 - Ps5 - titanium helix earrings Ps5 หาเงินออนไลน์

    ReplyDelete