väiksem kui ''10''} else { // täidetakse kõikidel muudel juhtudel}
36
Steve Mägi A-08 13.03.2014
Switch:
For:
Näide 1:
for (i=1; i<11; i++)
document.write("i="+i+" i ruudus="+i*i+"
")
Märkus: loogilised sulud võib ära jätta kui nende vahel on ainult üks lause.
ln the lastpicture,thereis a farmerdrivinga tractor.Heis G r a m m a r :o b l i g a i i o n ,p r o h i b i t i o ns; u g g e s t i o na n d casuallydressed.He probablygets up very early every recessrty; permission, request, abilityandpossibiy; past morningsothat hecando all hischores. Heprobablyworks andperfectmodals; makingdeductions; questio tags outdoorsmostof theday,caringfor theanimalsor making Use of English:prepositions; phrasalverbs(give,go); repairs.At lunchtime,he probably goes back to the nultiple choice cloze; error correction; key-word farmhouseand has a cookedlunch.ln the afternoon,he :'ansformations, idiomsandfixedphrases continuesworkinguntil sunset,whenhe goesbackto the
ln the lastpicture,thereis a farmerdrivinga tractor.Heis G r a m m a r :o b l i g a i i o n ,p r o h i b i t i o ns; u g g e s t i o na n d casuallydressed.He probablygets up very early every recessrty; permission, request, abilityandpossibiy; past morningsothat hecando all hischores. Heprobablyworks andperfectmodals; makingdeductions; questio tags outdoorsmostof theday,caringfor theanimalsor making Use of English:prepositions; phrasalverbs(give,go); repairs.At lunchtime,he probably goes back to the nultiple choice cloze; error correction; key-word farmhouseand has a cookedlunch.ln the afternoon,he :'ansformations, idiomsandfixedphrases continuesworkinguntil sunset,whenhe goesbackto the
ln the lastpicture,thereis a farmerdrivinga tractor.Heis G r a m m a r :o b l i g a i i o n ,p r o h i b i t i o ns; u g g e s t i o na n d casuallydressed.He probablygets up very early every recessrty; permission, request, abilityandpossibiy; past morningsothat hecando all hischores. Heprobablyworks andperfectmodals; makingdeductions; questio tags outdoorsmostof theday,caringfor theanimalsor making Use of English:prepositions; phrasalverbs(give,go); repairs.At lunchtime,he probably goes back to the nultiple choice cloze; error correction; key-word farmhouseand has a cookedlunch.ln the afternoon,he :'ansformations, idiomsandfixedphrases continuesworkinguntil sunset,whenhe goesbackto the
ln the lastpicture,thereis a farmerdrivinga tractor.Heis G r a m m a r :o b l i g a i i o n ,p r o h i b i t i o ns; u g g e s t i o na n d casuallydressed.He probablygets up very early every recessrty; permission, request, abilityandpossibiy; past morningsothat hecando all hischores. Heprobablyworks andperfectmodals; makingdeductions; questio tags outdoorsmostof theday,caringfor theanimalsor making Use of English:prepositions; phrasalverbs(give,go); repairs.At lunchtime,he probably goes back to the nultiple choice cloze; error correction; key-word farmhouseand has a cookedlunch.ln the afternoon,he :'ansformations, idiomsandfixedphrases continuesworkinguntil sunset,whenhe goesbackto the