Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

HI guys I need help creating a program that reads all the old lottery numbers fo

ID: 3859248 • Letter: H

Question

HI guys I need help creating a program that reads all the old lottery numbers for manipulation and that everytime I run the program ask if I need to enter a winning lotto combo if yes , add it to the array otherwise continue to wathever number manipulation I wanted to do.

here is what the txt file to read in looks like

Draw Date WB1 WB2 WB3 WB4 WB5 PB PP
11/26/2016 21 17 37 44 19 16 2
11/23/2016 07 61 41 47 32 03 2
11/19/2016 24 61 43 16 28 21 2
11/16/2016 28 61 63 41 65 07 2
11/12/2016 20 08 27 52 17 24 2
11/09/2016 28 31 54 25 01 02 2
11/05/2016 31 50 69 21 51 08 3
11/02/2016 18 54 61 13 37 05 2

Explanation / Answer

Since the language for writing the code is not specified, I have used Java.

I am assuming the file has values delimeted by tab

Hope this helps !