102 Algorithm Specification
102 Algorithm Specification
Step 1: Start
Step 2: get l, b values
Step 3: Calculate A=l*b
Step 4: Display A
Step 5: Stop
[3] An identifier begins with a letter. The data types of variables are not
explicitly declared. The types will be clear from the context.
[5] There are two boolean values true and false. In order to produce
these values, the logical operators and, or, and not and the
relational operators <,≤, =,≠,≥, and > are provided.
While condition do
{
<statement1>
}
correct input data is the data which satisfies the initial condition of
the specification
correct output data is the data which satisfies the final condition of
the specification