PROGRAMMING POND
Let's Learn programming in the easiest way
Pages
(Move to ...)
Home
CAMPONY LINK
JAVA
PRACTICE
THEORY
PROGRAM
ARRAY
FUNCTION
▼
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
‹
›
Home
View web version
No comments:
Post a Comment