The code lines read as follows. Line 1. Procedure bubble sort left parenthesis List array comma number length underscore of underscore array right parenthesis. Line 2, indented twice. for i equals 1 to length underscore of underscore array hyphen 1 semicolon. Line 3, indented 3 times. for j equals 1 to length underscore of underscore array – I semicolon. Line 4, indented 4 times. if array of j greater than sign array of j plus 1 then. Line 5, indented 5 times. temporary equals array of j plus 1. Line 6, indented 5 times. array of j plus 1 equals array of j. Line 7, indented 5 times. array of j equals temporary. Line 8, indented 4 times. end if. Line 9, indented 3 times. end of j loop. Line 10, indented twice. end of i loop. Line 11. return array. ...

Get System Architecture: Strategy and Product Development for Complex Systems, First Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.