-
Dear Princess Celestia: FizzBuzz!
-
-
I learned the extra ponies with a number using the number Apples and the number Ponies!
-
When Apples is less than Ponies then:
-
Then you get Apples.
-
Otherwise:
-
Apples became Apples minus Ponies.
-
Then you get the extra ponies using Apples and Ponies.
-
That's what I would do!
-
That's all about the extra ponies with a number using the number apples and the number Ponies.
-
-
I learned how to run one step using the number n and the number max!
-
When n is less than max then:
-
Did you know that The assignment is the phrase " "?
-
-
Did you know that The spare Fizz ponies is the number 0?
-
The spare Fizz ponies is now the extra ponies using n and 3.
-
When The spare Fizz ponies is 0 then:
-
The assignment is now "Fizz"!
-
That's what I would do!
-
-
Did you know that The spare Buzz ponies is the number 0?
-
The spare Buzz ponies is now the extra ponies using n and 5.
-
When The spare Buzz ponies is 0 then:
-
The assignment is now "Buzz"!
-
That's what I would do!
-
-
Did you know that The spare FizzBuzz ponies is the number 0?
-
The spare FizzBuzz ponies is now the extra ponies using n and 15.
-
When The spare FizzBuzz ponies is 0 then:
-
The assignment is now "FizzBuzz"!
-
That's what I would do!
-
-
When The assignment isn't " " then:
-
I said The assignment!
-
Otherwise:
-
I said n!
-
That's what I would do!
-
-
I remembered how to run one step using n plus 1 and max.
-
That's what I would do!
-
That's all about how to run one step.
-
-
Today I learned how to run FizzBuzz!
-
I remembered how to run one step using 0 and 100.
-
That's all about how to run FizzBuzz.
-
-
Your faithful student, Anonymous.
by Guest
by Guest
by Guest
by Guest
by Guest