RosettaCodeData/Task/Loops-Break/Plain-English/loops-break.plain

18 lines
380 B
Text
Raw Permalink Normal View History

2023-07-01 11:58:00 -04:00
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.