Write an algorithm to print the perimeter and the area of a rectangular piece of land.
Solution to Problem Two
Begin
Input length, bredth
perimeter = ( length + bredth )* 2
area = length * bredth
Print perimeter, area
End
|
The Tutor |
|
Home | About | Comments | Lectures | Notice | Registration