Pages

Friday, 22 March 2019

Program to find Volume of given box in java

class volume
{
public static void main (String args [])
{
int l=5,b=6,h=10;
int volume;
volume=l*b*h;
System.out.println (" volume of box="+volume);
}
}


Output::

No comments:

Post a Comment