Write an algorithm to accept the length and breadth of rectangle and print its area and perimeter. Area = Length x breadth, Perimeter = 2(length + breadth)
Answers
Answered by
0
Answer:
Explanation:Answer: The algorithm will be of one reading step, a computation step and a printing step.
Explanation:
Step-1: Begin
Step-2: Read Length and Breadth of rectangle into L, B
Step-3: Compute Area of Rectangle as A = L * B
Step-4: Print Area of Rectangle as A
Step-5: End
Similar questions