Skip to content
No description, website, or topics provided.
PHP
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src
tests
.gitignore
README.md
composer.json
composer.lock
index.php
phpunit.xml

README.md

FIZZBUZZ USING TDD AND RECURSION

Instructions

https://kevinpimentel.com/blog/4/fizzbuzz-with-php-tdd-and-recursion

  1. Write a recursive program that can accept n numbers.
  2. Program should be recursive and return an array of numbers and strings.
  3. Numbers divisible by 3 should be swapped out for the string Fizz.
  4. Numbers divisible by 5 should be swapped out for the string Buzz.
  5. Numbers divisible by both 3 and 5 should be swapped for the string FizzBuzz.
You can’t perform that action at this time.