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
$ javac -Xlint JackpotWinner.java
$ java -ea JackpotWinner
Jackpot Profit per Player: $6656.67