Write a program to create a class Rectangle with a main() method to declare the variable l and b to initialize the length and breadth of the rectangle. calculate and print the area and perimeter of the rectangle by using the following formulae: - Area = length*breadth Perimeter = 2(length*breadth)
Answers
Answered by
0
Explanation:
please mark me brainlist
Attachments:
Answered by
0
Answer:
CLS
(Variable a and b);
Calculate (Area= length*breadth perimeter = 2(length*breadth)
Similar questions