diff --git a/Area.java b/Area.java new file mode 100644 index 0000000..ee95d31 --- /dev/null +++ b/Area.java @@ -0,0 +1,14 @@ +import java.util.Scanner; +class Area +{ +public static void main(String args[]) +{ +Scanner kb=new Scanner(System.in); +int l,b,c; +System.out.println("enter length and breadth"); +l=kb.nextInt(); +b=kb.nextInt(); +c=l*b; +System.out.println("the area of rectangle is " +c); +} +} \ No newline at end of file