Professional Documents
Culture Documents
Pseudocode
Pseudocode is a compact and informal high-level description of a program using
the conventions of a programming language, but intended more for humans.
s2
Sum=s1+s2
Sum
END
Pseudocode Example 2: Find Area of a circle
BEGIN
NUMBER r, area
INPUT r
area=3.14*r*r
OUTPUT area
END
BEGIN
NUMBER r, perimeter
INPUT r
perimeter=2*3.14*r
OUTPUT perimeter
END