Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started