Prints one country code on each line.
If the code contain B
, print Bish
instead of the code.
If the code contain N
, print Nish
instead of the code.
And if the code contain B
and N
, print BishNish
instead of the code.
Run the example with:
php bishnish.php
Unit tests is found in the tests
folder.
Run the tests with:
phpunit