subject

You're going to write a program that models the Littleton City Lotto (not a real Lotto game). The program is going to allow to user to first select their lotto numbers. The program will then randomly generate the winning lotto numbers for the week and then check the winning numbers against the random ticket the user played in the Lotto to see how many numbers the user guessed correctly. The rules for lotto work as follows: 1. Select 7 numbers between 1 and 40 2. Twice every week 7 numbers are drawn at random 3. If a player matches all 7 numbers they win a million dollar prize 4. If a player matches 6 numbers they win $100,000 5. If a player matches 5 numbers they win $5,000 6. If a player matches 4 numbers they win $100. 7. If a player matches 3 numbers they win a free ticket.

ansver
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 21.06.2019 21:40, DisneyGirl11
Which is a benefit of getting information from a government website? a. the information will be easy to understand. ob. the information will be the most current. oc. the information can be trusted.
Answers: 1
image
Computers and Technology, 22.06.2019 06:20, Masielovebug
In what kind of attack can attackers make use of millions of computers under their control in an attack against a single server or network availability confidentiality integrity identity automated attack software? those who wrongfully disclose individually identifiable health information can be fined up to what amount per calendar year? single most expensive malicious attack hipaa what are script kiddies? advanced persistent threat security manager security engineer what level of security access should a computer user have to do their job what process describes using technology as a basis for controlling the access and usage of sensitive data? cybercriminal
Answers: 1
image
Computers and Technology, 22.06.2019 09:30, caldonjoshhsms2061
What are the steps involved in accepting all the changes in a document? arrange these in order click edit. click accept or reject. click changes. click accept all.
Answers: 1
image
Computers and Technology, 23.06.2019 00:10, makailaaa2
My has been slow anyone else’s ?
Answers: 1
You know the right answer?
You're going to write a program that models the Littleton City Lotto (not a real Lotto game). The pr...

Questions in other subjects:

Konu
Mathematics, 28.09.2019 14:30
Konu
Mathematics, 28.09.2019 14:30