Question: A new start - up company is looking to create a program that will auto - generate and output lottery tickets and their numbers based

A new start-up company is looking to create a program that will auto-generate and output lottery tickets and their numbers based upon user inputted parameters. The program must meet the following specifications:
The program must ask the user for the maximum value possible for an individual lottery number on the tickets...the random numbers generated will be from the number 1 to the value that the user inputs
The program must ask the user for the number of values for each ticket the system should generate
The program must ask the user for the number of number tickets it wishes the system to generate
The program must utilize arrays to store the generated tickets and their values
The program will then generate the number of values needed per ticket using the maximur value rules above, for the number of required tickets
The program will output all generated tickets and their individual generated values sorted from the smallest to the largest number left-to-right
All tickets must be outputted to both the screen and a user named text file to be stored within the program folder
Hint: Use methods to help organize your code and to more easily code functionality that repeats
Hint 2: Use the sorting methods that you built in a early lab to serve as a starting point for this week's lab challenge.
A new start - up company is looking to create a

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!