Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
15
Task/Loops-For/Plain-English/loops-for.plain
Normal file
15
Task/Loops-For/Plain-English/loops-for.plain
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
To run:
|
||||
Start up.
|
||||
Write a triangle of asterisks on the console given 5.
|
||||
Wait for the escape key.
|
||||
Shut down.
|
||||
|
||||
To write a row of asterisks on the console given a number:
|
||||
If a counter is past the number, write "" on the console; exit.
|
||||
Write "*" on the console without advancing.
|
||||
Repeat.
|
||||
|
||||
To write a triangle of asterisks on the console given a size:
|
||||
If a counter is past the size, exit.
|
||||
Write a row of asterisks on the console given the counter.
|
||||
Repeat.
|
||||
Loading…
Add table
Add a link
Reference in a new issue