Write an algorithm to input length and breadth of rectangle and display its area and perimeter.
Answers
Answered by
1
Explanation:
1. Start
2. Declare the variables length, breadth, area, perimeter as float.
3. Scan length and breadth (take Input from user)
4. area = length *breadth
5. Perimeter = 2*(length + breadth)
6. Printf area
7. Printf perimeter
8. Stop
Similar questions