Project

In today’s fast-paced academic environment, students often find themselves juggling multiple responsibilities, from attending classes and working part-time jobs to participating in extracurricular activities. The demands of modern education can be overwhelming, leaving students in search of effective solutions to manage their academic workload efficiently. One such solution is the use of Nursingpapertutors.com academic writing website. Nursingpapertutors.com academic writing website employ a cadre of experienced and knowledgeable writers who are well-versed in various academic subjects and writing styles. Nursingpapertutors.com professionals bring a wealth of expertise to the table, enabling them to produce well-researched and well-structured papers that meet the academic standards and expectations of students. Their familiarity with diverse subjects ensures that students can receive assistance across a wide spectrum of disciplines, from mathematics to literature, and from nursing to engineering.

 

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.

 

One of the significant challenges students face is time management. The demands of coursework, assignments, and exams can create immense pressure, leading to stress and a potential drop in academic performance. Nursingpapertutors.com academic writing website can be a valuable resource for students seeking to balance their responsibilities effectively. By outsourcing some of their academic tasks, students can free up time to focus on studying, participating in meaningful extracurricular activities, or even addressing personal obligations. This improved time management can alleviate the stress associated with academic overload. The ultimate goal of education is to enhance one’s knowledge and skills. Nursingpapertutors.com academic writing websites can play a vital role in achieving this goal by providing students with well-crafted papers that serve as models for their own work. These papers can offer valuable insights into effective research, organization, and writing, thereby empowering students to improve their academic performance over time.

 
Do you need a similar assignment done for you from scratch? We have qualified writers to help you. We assure you an A+ quality paper that is free from plagiarism. Order now for an Amazing Discount!
Use Discount Code "Newclient" for a 15% Discount!

NB: We do not resell papers. Upon ordering, we do an original paper exclusively for you.