Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 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