write a programm to enter the length the length and width of a rectangle. Display the area and perimeter of the rectangle.
Answers
Answered by
0
Scanner sc =new scanner (system.in)
int i,j,area;
System.out.print ("Enter length");
i=sc.nextInt():
System.out.print("Enter breadth");
j=sc.nextInt():
area =i*j;
System.out.print ("area");
Similar questions