Question: java script Instructions 1. Create variable containing an array that will contain five or more numbers that represent the marks on quizzes. It is assumed

 java script Instructions 1. Create variable containing an array that will
java script

Instructions 1. Create variable containing an array that will contain five or more numbers that represent the marks on quizzes. It is assumed that all quizzes will be out of 10 so the numbers must be values between 0-10 2 Create a function that will take the array as an argument and return the average of the quizzes 3. Output a text message with the values of the quizzes (without the brackets) and the final average. Use template literals when constructing output strings (AKA back-ticks, template literals are explained in the section on Strings in Chapter 1). Sample Output Quis marks: 30 10 6 7 10 9 The average is 8.6 / 10. Notes JavaScript has a method called to Fixed that will take a number and convert it to a string with a fixed number of decimal places Don't do toPixed in the function (you want to return a number), do it when you display the value. let mum. 4.56700 console.log(num.toFixed(2) 11 1/ 4.57 Submission Do not use the var keyword. Instead use let of const. Do not include any HTML tags Do not use document.write() Save your code to a file called ... Submit thejs file, do not zip it

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!