COEN 171 - Control Structures. Control structure general issues Compound statements Selectors (conditional structures) single two-way multiway Iteration counter controlled logical intest user-defined Guarded commands. Control Structure General Issues.
Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author.While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server.
for index := 1 step 2 until 50,
60, 70, 80,
index + 1 until 100 do
(index = 1, 3, 5, 7, ..., 49, 60, 70, 80,
81, 82, ..., 100)
ifx >= y max := x
y >= x max := y
doq1 > q2 swap (q1, q2)
q2 > q3 swap (q2, q3)
q3 > q4 swap (q3, q4)