Pure Programmer
Blue Matrix


Cluster Map

Project: Jackpot Winnings

If three people who contribute $10 each to buy lottery tickets win a jackpot of $20,000, compute how much profit each winner has earned. Use named constants where appropriate.

Output
$ swiftc JackpotWinner.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