Biology, asked by sahuudaya456uda, 9 months ago

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 vedangparth
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