A-M baby
This commit is contained in:
parent
764da6cbbb
commit
db842d013d
19005 changed files with 197040 additions and 7 deletions
4
Task/Loops-For/Smalltalk/loops-for-1.st
Normal file
4
Task/Loops-For/Smalltalk/loops-for-1.st
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
1 to: 5 do: [ :aNumber |
|
||||
aNumber timesRepeat: [ '*' display ].
|
||||
Character nl display.
|
||||
]
|
||||
3
Task/Loops-For/Smalltalk/loops-for-2.st
Normal file
3
Task/Loops-For/Smalltalk/loops-for-2.st
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
1 to: 5 do: [ :row |
|
||||
1 to: row do: [:col | '*' display ].
|
||||
]
|
||||
3
Task/Loops-For/Smalltalk/loops-for-3.st
Normal file
3
Task/Loops-For/Smalltalk/loops-for-3.st
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
1 to: 5 do: [ :n |
|
||||
Stdout next: n put: $*; cr
|
||||
]
|
||||
Loading…
Add table
Add a link
Reference in a new issue