write a java program to calculate and display the area of rectangle where I=6cm and b=4cm
Answers
Answered by
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