Skip to content

Lottery program prompts the user to guess a randomly generated number between 1 and the maximum integer value. The user pays $1 for each guess and wins $1,000,000 if the guess is correct. The user enters a "q" to quit.

License

Notifications You must be signed in to change notification settings

bell-kevin/Lottery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Lottery

Lottery program prompts the user to guess a randomly generated number between 1 and the maximum integer value. The user pays $1 for each guess and wins $1,000,000 if the guess is correct. The user enters a "q" to quit.

From "Introduction to Programming with Java A Problem Solving Approach" Second Edition by John Dean and Raymond Dean on pages 174 and 175

== We're Using GitHub Under Protest ==

This project is currently hosted on GitHub. This is not ideal; GitHub is a proprietary, trade-secret system that is not Free and Open Souce Software (FOSS). We are deeply concerned about using a proprietary system like GitHub to develop our FOSS project. We have an open {bug ticket, mailing list thread, etc.} where the project contributors are actively discussing how we can move away from GitHub in the long term. We urge you to read about the Give up GitHub campaign from the Software Freedom Conservancy to understand some of the reasons why GitHub is not a good place to host FOSS projects.

If you are a contributor who personally has already quit using GitHub, please check this resource for how to send us contributions without using GitHub directly.

Any use of this project's code by GitHub Copilot, past or present, is done without our permission. We do not consent to GitHub's use of this project's code in Copilot.

Logo of the GiveUpGitHub campaign

About

Lottery program prompts the user to guess a randomly generated number between 1 and the maximum integer value. The user pays $1 for each guess and wins $1,000,000 if the guess is correct. The user enters a "q" to quit.

Topics

Resources

License

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages