Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
16
Task/FizzBuzz/Plain-English/fizzbuzz.plain
Normal file
16
Task/FizzBuzz/Plain-English/fizzbuzz.plain
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
To play FizzBuzz up to a number:
|
||||
Put "" into a string.
|
||||
Loop.
|
||||
If a counter is past the number, exit.
|
||||
If the counter is evenly divisible by 3, append "Fizz" to the string.
|
||||
If the counter is evenly divisible by 5, append "Buzz" to the string.
|
||||
If the string is blank, append the counter then "" to the string.
|
||||
Write the string to the console.
|
||||
Clear the string.
|
||||
Repeat.
|
||||
|
||||
To run:
|
||||
Start up.
|
||||
Play FizzBuzz up to 100.
|
||||
Wait for the escape key.
|
||||
Shut down.
|
||||
Loading…
Add table
Add a link
Reference in a new issue