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
Hindi,
5 months ago
Computer Science,
5 months ago
English,
9 months ago
English,
1 year ago
Math,
1 year ago
Political Science,
1 year ago