Pure Programmer
Blue Matrix


Cluster Map

Project: 99 Bottles of Beer Lyrics

Compute the full lyrics to the song 99 Bottles of Beer. Write a function to print a verse given the verse number. Be sure to handle the special cases when there are just one bottle of beer and no bottles of beer.

See [[99 Bottles of Beer]]

Output
$ swiftc BottlesOfBeerLyrics.swift -I . -L . -lUtils error: link command failed with exit code 1 (use -v to see invocation) ld: library not found for -lUtils clang: error: linker command failed with exit code 1 (use -v to see invocation)

Solution