Information Technology Center


Problem Two

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

Lecturer:

The Tutor
Do you have a question or a comment ?
tutordam@yahoo.com


Home | About | Comments | Lectures | Notice | Registration