Computer Science, asked by cbadboi74, 11 months ago

write a java program to calculate and display the area of rectangle where I=6cm and b=4cm​

Answers

Answered by sara0533
1

Answer:

class Rectangle

{

public static void main()

{

int l = 6;

int b = 4;

int area = l*b

System. out. println("The area of rectangle is " + area);

}

}

I hope it helps you!!!!!

Similar questions