logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Bill BattershillPhilosophy
(5/5)

767 Answers

Hire Me
expert
Juan FloressHistory
(5/5)

851 Answers

Hire Me
expert
Glenn BolyardGeneral article writing
(5/5)

687 Answers

Hire Me
expert
Faith WangScience
(5/5)

592 Answers

Hire Me
Python Programming
(5/5)

Write the code that generates 5 unique numbers in the range of 1‐69. Arrange and store 5 unique values in ascending order followed by Powerball

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Lottery Number Generator for Illinois Powerball and MEGAball.

 

‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐

 

Rules for Creating a single randomly generated POWERBALL drawing!

Step 1: Write the code that generates 5 unique numbers in the range of 1‐69.  Arrange and store 5 unique values in ascending order followed by Powerball

Step 2: Next you will choose a single POWERBALL in the range of 1‐26.

‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐

 

Rules for Creating a single randomly generated MEGAball drawing!

Step 1: Write the code that generates 5 unique numbers in the range of 1‐70. Arrange and store 5 unique values in ascending order followed by Megaball

Step 2: Next you will choose a single MEGAball in the range of 1‐25.

 

‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐

 

Step #01, Display a menu that will allow user to pick POWERBALL / MEGAball / Exit ‐

1. A POWERBALL drawing(s)/search! * off to step #02

2. A MEGABALL drawing(s)/search! * off to step #02

3. Exit lottery drawing Generator

Step #02, Display a menu that will allow user to generate/search ‐

1. Generate POWERBALL or MEGAball drawing(s)! * generate 1‐25 drawing(s)

2. View all previous drawings in the terminal, 25 per screen.

3. Search previous POWERBALL or MEGAball drawing(s) for winners!

Reminder: if a single POWERBALL or MEGAball match in drawing you are a small value winner!

4. Back to drawing Choice

 

‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐‐

 

Requirements:

• Documentation header for the program, functions and to the right for statements.

• Break code into functions. The program must run in a loop until user exits.

• Create useful easy to navigate menus. The use case for menu choices validate by using default/wildcard *).

• Drawing random numbers ranges validate for game choice.

• Must read and write results.

• Must give user choice to save generated game drawings to disk storage. File name your choice.

• When a search entry for a winner matches every number of a saved generation, output a turtle graphic that they are a BIG winner of either Power or Mega ball.

• When a search entry for a winner matches just the Power or Mega ball, output a turtle graphic that they are a SMALL winner of either Power or Mega ball.

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme