You are on page 1of 11

I

Structure Diagrams

low charts
F

Pseudo Codes

CamScanner
Range Check from
apply
a
can
-

Programme
0 999
Range check the
Doogonumentat alsoapplyresence
~

the
that data entered
to
·Just make sure
is correct -
Verification of Date.

REPEAT
OUTPUT "Endh icasunement"

Input measurement
OUTPUT "Re-Into Measurement"
INPUTMeasmement2

UNTIL Measurement - Measurement2

CamScanner
L

Indentation

FOR X) I To 10
-
The Alignment of the code

OUTPUT X should be correct.

variables
meaningful names
for

should be stored in
Name, Age, name

Name and Age should be stored in Age

comments

Total Total Num


Totalling, will
help
to understand the logic used.
other programmers

CamScanner
07
04
02

07
E Total - Number [Connta]
Total

5 08
Number (conten)=-1

16
-OR count 4 I To s

CamScanner
After OS

*
EPEAT
INPUTNumbel Countr
Number (comta] =9 OR
UNTIL (Number[camta] > 0 AND
=

Number (Confer]=-
1

I -

① NOTB

⑧ I 0 O
O I 1 0

I O G 0

I O 0 O

I I ⑦
O

I I I I
O
I O 0

O
I 8
O

CamScanner
CamScanner
10

⑧ I 5

I 10
1 2 10
10
I 3 8 10
10

"
I # 10


Sorting the
-

Array inAscending
order

CamScanner
Song Numten

Text
Text
DATE

REAL/DECIMAL

The
firststatement will perform totalling of all
·

minutes
for songs having genre as rock.
Thesecondstatementwilldishcantin
·

CamScanner
12345

DECLAREP: STRING
&:CHAR
DECLARE
"The world"
45
'W
Q

Index /GER
DECLAR Ch:CHAR.
DECLARE
(4)-
,

it-
THEN
Position Index

[WDIf
Index
NEXT

CamScanner
CamScanner

You might also like