6. Flowcharts Area of a parallelogram
The pseudocode below calculates the area of a parallelogram given the base, b, and height, h.
ALGORITHM parallelogramArea()
BEGIN
INPUT b, h
A ← b * h
PRINT A
END
ALGORITHM parallelogramArea()
BEGIN
INPUT b, h
A ← b * h
PRINT A
END