top of page

L.C.P        Logic of Programs construction

The "Elementary" structures of programs :

Let's start with the repetitive structure.

The rules :

- A set of data of repetitive structure is a set in which several subsets of data of the same type are used.

- For a repetitive structure of data, there is a repetitive structure of the program.

- A subset of the repetitive structure program always includes a repetitive subset preceded by a beginning executed 1 time, followed by an end executed 1 time in the set.

An example :  here is the printed report to obtain :                              here is the F.L.S of the program

Here is the F.L.E of the program:

If you notice the structure of the program, you will notice that you will only need the hierarchical subdivision to write your program. You will follow all the logical sequences of the program from top to bottom and from left to right, they are already in order.

Here is the program :

What if we moved on to the alternative structure ?

bottom of page