Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
17
Task/Loops-Break/Plain-English/loops-break.plain
Normal file
17
Task/Loops-Break/Plain-English/loops-break.plain
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
To run:
|
||||
Start up.
|
||||
Demonstrate breaking.
|
||||
Wait for the escape key.
|
||||
Shut down.
|
||||
|
||||
To demonstrate breaking:
|
||||
Pick a number between 0 and 19.
|
||||
Write the number to the console.
|
||||
If the number is 10, break.
|
||||
Pick another number between 0 and 19.
|
||||
Write the other number to the console.
|
||||
Repeat.
|
||||
|
||||
To write a number to the console:
|
||||
Convert the number to a string.
|
||||
Write the string to the console.
|
||||
Loading…
Add table
Add a link
Reference in a new issue