Find Area of Rectangle Program in Java

Area of Rectangle= Length X Breadth

import java.util.Scanner;
public class JavaFindAreaRectangle 
{
    public static void main(String[] args) 
	{
		int l,b,area;
        Scanner sc=new Scanner(System.in);
        System.out.print("Enter length=");
        l=sc.nextInt();
        System.out.print("Enter bredth=");
        b=sc.nextInt();
        
        area=l*b;        
        System.out.println("Area of Rectangle="+area);
    }
}


Output:

Enter length=3
Enter bredth=4
Area of Rectangle=12
b. tech. bca icse java java tutorials learn java mca programs