Articles tagged 'scheme'

FizzBuzz Counts, Improved

Monday, July 25, 2016 A.D.

I improved the fizzbuzz solution in scheme from my previous post. I mentioned that if I added a second function inside of the main function, I could avoid passing in the n argument over and over again. I don't know if it's a change for the better but...… .

Fizzbuzz Counts

Sunday, July 17, 2016 A.D.

I forget where I saw it, but I recently saw a variation of the FizzBuzz problem wherein instead of printing numbers and substituting 'fizz', 'buzz', and 'fizz buzz' where appropriate, the goal is to return the number of times those words would be printed...… .