Question: Write a console program called Megalottobaby that accepts a number from the user and determines if it is one of the recent winning Florida Lottery

 Write a console program called Megalottobaby that accepts a number from

Write a console program called Megalottobaby that accepts a number from the user and determines if it is one of the recent winning Florida Lottery winning numbers. You must use an array to store the six (6) numbers from the most recent Florida Lottery drawing. Visit https://www.flalottery.com/winningNumbers to find the numbers to initialize your array with (you manually type these numbers into your array as you're writing your program, your program doesn't need to visit the website.) When your program runs, it should prompt the user for a single lottery number. If the entered number is present in your array, output "We have a winner!" otherwise output "We have a big loser!" Also, be sure to output the DATE of the lottery drawing numbers your program contains (you may hardcode this date into your program, but the numbers in your lottery results array must match the numbers for the date that you output.) Submit output showing both cases

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 Databases Questions!