|
|
|
|
|
|
|
Figure 11-10 firstList Array |
|
|
|
|
|
|
|
|
Compare Lists (In: firstList, length; Inout: dataFile, allOK) |
|
|
|
|
|
|
|
|
FOR counter going from 0 through length-1
Read number from second list
IF numbers not the same
Set allOK = FALSE
Print both numbers |
|
|
|
|
|
|
|
|
|
Numbers Not the Same Level 2 |
|
|
|
|
|
|
|
|
|
number != firstList[counter] |
|
|
|
|
|
|
|
|
|
|
|
Print firstList[counter], number |
|
|
|
|
|
|
|
|
|
|
Because the last two modules are only one line each, they are coded directly in the Compare Lists module. |
|
|
|
|
|