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.

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. Keep in mind that your final project 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. 4. Using the flowcharting skills learned in Homework #1, create a detailed flowchart for your process. Save this as a PDF into your Functions Assignment folder and commit it to your GitHub Repo. Name this file Lastname_Firstname_Functions_Flowcart.pdf 5. Once your flowchart is created, make sure you follow the organization mentioned in the videos to create an HTML file, and a js folder with a js file inside of the Functions_Assignment folder. a. Place comments at the top of the JavaScript file that contain your name, class and term, and the assignment. b. Following your flowchart, write your code to match. Make sure to comment every line so that you are explaining exactly what you are trying to do. c. Continuously commit your files to your GitHub repo throughout the development process. You should have a minimum of 5 meaningful commits for this assignment. d. Your code should give the user meaningful output. So, after you have gathered the numbers, your code should report back to the user the final values with a console.log(). If your function returns the numbers for the Powerball, remember that the output should indicate that the last number is the Powerball. e.g. console.log(“The numbers are … and the Powerball is …”); e. After your code is complete, make sure you test your final files. Try typing in different values to see what you get. Make sure it returns the correct number of random number based on the prompt. Put the numbers returned in a multilined comment at the bottom of your js file. e.g. /* Powerball numbers: 24, 56, 12, 5, 7 with PB 34 FL lottery numbers: 12, 6, 45, 87, 23 */ 6. Please note that you are not required to do your flowchart first. That is, you may complete your code and then create your flowchart. You may also choose to create your flowchart at the same time you’re creating your code. The important thing to remember is that logic of your flowchart must match the logic of your code and vice versa. CRITERIA: Make sure your project follows this list of criteria: • You will need to create code that returns random numbers for each group of lottery numbers. • 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. • The result should appear in the browser’s console and include an explanation of the result. o Good example of console.log: The volume of the sphere is 26 feet cubed. o Bad example of console.log: 26 • Final output should use string concatenation. • Comment every line of code (describe what each line is doing in English). Do NOT just label sections of your code. • Your code must contain at least one function • Each function must use arguments and parameters. • A value must be returned for every function you create. • You must not use global (“main code”) variables inside of a function; you must pass them in as arguments.

Are you looking for a similar paper or any other quality academic essay? Then look no further. Our research paper writing service is what you require. Our team of experienced writers is on standby to deliver to you an original paper as per your specified instructions with zero plagiarism guaranteed. This is the perfect way you can prepare your own unique academic paper and score the grades you deserve.

Use the order calculator below and get started! Contact our live support team for any assistance or inquiry.