Javascript project
Brainstorm how to find and return a group of random numbers. You also need to consider that your function must return either Powerball or regular Florida lottery numbers but not both. It must contain the following:
a. At least one function.
b. Any functions created must use arguments and parameters.
c. A value must be returned for each function.
d. You must not use “main code” variable inside of a function; you must pass values in as arguments and out as returned values.
e. All user prompts must be validated using a while loop.
f. Create a detailed flowchart for your process.
g. Keep in mind that the regular Florida lottery has six random numbers between 1 and 53; the Powerball lottery has five random numbers between 1 and 59 and a Powerball between 1 and 35.
• Each random number must be different; a lottery will never have two of the same number unless it is the final Powerball number.
• You should have at least one prompt to ask the user if they want the numbers for the Florida lottery or for the Powerball lottery.
o Each prompt should be validated using a while loop.
11 years ago
20
Purchase the answer to view it

- lottery_game.zip
- flowchart.pdf
- The opinions of Bartolome de Las Casas were influential in alerting Europeans to the treatment of Native Americans. Write a...
- DATABASE HOMEWORK
- Paper due by tonight at midnight
- Assignment 4: Written Business Plan and Presentation
- DBM 381 Week 1 Individual Database Paper
- MAT 540 Quiz
- HRM Legal Environment 5
- construction essay
- ENG 122 Week 4 Discussion 2
- Revenue Cycle Management and Reimbursement