Switch to full style
Java2 codes,problems ,discussions and solutions are here
Post a reply

How to Calculate Volume of a Rectangle

Sat Jul 16, 2011 11:42 am

The title says it all :gOOd: :yahoo:



Re: How to Calculate Volume of a Rectangle

Sun Jul 17, 2011 2:20 am

volume of rectangle V=L*H*W
L = length
H= height
W=width

Code:
double length=3.0d;
double height =4.0d;
double width =4.0d;
double volume =length*height*width ;


Post a reply
  Related Posts  to : How to Calculate Volume of a Rectangle
 Ellipse in Rectangle     -  
 Draw Fill Rectangle     -  
 Draw rectangle on image     -  
 Java Rectangle Class     -  
 Drawing rectangle using stars in java     -  
 ellipse, circle, rectangle, square, or parallelogram     -  
 Draw Oval,Arc,Polygon,string,Line,Round and 3D Rectangle     -  
 Calculate process time     -  
 Calculate euclidean distances     -  
 calculate speed of a car in javaCV     -