WAP to accept length and breadth of a rectangle then calculate and display its area and perimeter. Area= length *breadth and perimeter=2*(l + b)
Eg:
Length=10
Breadth=30
Perimeter=2*(10+30)
Output
Area=300
Perimeter=80(2*10+30=80)
Published By : Sunita Chhetry