Download as doc, pdf, or txt
Download as doc, pdf, or txt
You are on page 1of 1

Daniel McCoy

CISP-300
Assignment 2

Name Type Range Description


length number 0-100 The length of the figure.
width number 0-100 The width of the figure.
area number 0-10000 The area of the figure.
perimeter number 0-400 The perimeter of the figure.

START

READ
length, width

area =
length * width

perimeter =
(2 * length) + (2 * width)

WRITE
‘Length: ‘ length

WRITE
‘Width: ‘ width

WRITE
‘Area: ‘ area

WRITE
‘Perimeter: ‘ perimeter

STOP

You might also like