5. Flowcharts Area of a square
The pseudocode below calculates the area of a square given the length of one side, l.
ALGORITHM squareArea()
BEGIN
INPUT l
A ← l * l
PRINT A
END
ALGORITHM squareArea()
BEGIN
INPUT l
A ← l * l
PRINT A
END