You are on page 1of 1
i ey eee nC EM sect Terecicl ns 11.05 Logic statements InSection 11,01, we ooked alan algortam with ¢ “erent st cenciition s cependingan soreo.ner eng nee:ing works on zne Victoria | ine THEN Take be Pitcacily Line tot Take Lie Jubilee Linc te FLSE Take tie Vie aval ine to Gres Park fe stetions) ie 1 ark (BSA Tons) festmminster {1 statien) Take tho Juaileeline ints: (1 station) The selection construct in Table 11.04 usese codition te follow etherthe frst group of steps je secono gyous: ef sleps [see Figure 1.09). Simple condition * Se HEN, sehacemens (5) > ELSE eetatemel EMDie Figure 12.09 Structured English for theselestion construct Arnndit on cersists of at eas: one lorie ppasition tsee Cneater4, ction 4.11.1 oF progestiors usethe jors shown in Ieale LL.€3 (Operator | Comparison [Isequal to. | = islessinan > _ Is greeter than « [lsiess tian or eovalto = Js greater than cr ecval to a isnot equelto | Table 11.02 Relational operators ssh between tre -elational Conditionsareeither RUL ‘operiator~ byrich tess for eque ily ard the essgnment sy jessod as 2 chile T they ere under 13 anid 2¢ an acull HUicy 2 ane 19 incli sive treyare classoe as toon HALSE, Ir psoucowele, we dist ApeBAS bets logie statements: ors We can write these se: + Ilage= 13 AND Age 29 (he se sons a eer

You might also like