P2: Area of rectangle

class Areaofrectangle {
   public static void main (String[] args)
   {
    double length = 22.2;
    double width = 10.2;
    double area = length*width;
    System.out.println("Area of Rectangle is:"+area);
   }
}

Comments