Monday, June 30, 2008
How to Calculate Area of Rectangle?
class Rectangleexample
{
public static void main(String[] args)
{
int len=5, breadth=7, area=1;
area = len*breadth;
System.out.println("Area if Rectangle :" + area);
}
}
Subscribe to:
Post Comments (Atom)
0 comments:
Post a Comment