Area Of Rectangle

in Hindi - Area Of Rectangle



not yet

Source Code :

RUNimport java.util.Scanner;

public class Rectangle
{
public static void main(String args[])
{
int l, b;
double area;

System.out.println("Enter length of rectangle : ");
Scanner enter = new Scanner(System.in);
l = enter.nextInt();

System.out.println("Enter breadth of rectangle : ");
Scanner enter = new Scanner(System.in);
b = enter.nextInt();

area = l * b;

System.out.println("Area of Rectangle : " + area);
}
}