MIND MAP Algorithm
Functions : 3/4
Problem is to write a program to read Length and Width of a rectangle and then to find area of the rectangle using function.
(Area of Rectangle = Length * Width)
MIND MAP
►
INPUT
►
Purpose
►
Input the Length and Width of a Rectangle, then load them as parameter values into the Function() button
►
Implementation
►
Input Length
Input Width
►
PROCESS
►
Purpose
►
Click the Function() button to pass Length and Width as parameters to CalcArea() which calculates and returns Area = Length * Width
►
Implementation
►
Function CalcArea(Length As Double, Width As Double) As Double
    Return Length * Width
End Function
Area
=
Length
*
Width
►
OUTPUT
►
Purpose
►
Display the Area of the Rectangle returned by the Function
►
Implementation
►
Area