Question: 1. Create and array of at least 4 objects named quizzes. Each of the objects in the array wil represent a single quiz Each object
1. Create and array of at least 4 objects named quizzes. Each of the objects in the array wil represent a single quiz Each object should have properties for: . quiz name (string) mark earned (number) total marks possible (number) Use different values for this, don't just make them as out of the same mark 2 Use the forEach t) method to add a property "percent to each quiz object 3. Use the art e method to sort the array from highest percent to lowest 4 Each quiz is weighted equally. Calculate the average of all the percent properties using the reduced method 5. Output each quiz name and percent, rounded to an integer, on a separate line per quz Do this without using a loop 6. Output the final average percent, shown to one decimal piace, with some descriptive text Sample Output: Quit 308 Quit 1750 Quis 281 Quit 508 Quiz averaget 72.11 Notes: Do not concatenate strings, use template literals You do not need to prompt for values, just enter them in the array Have at least 4 quiz objects in your array You will not use any loops in your program Submission Details: Do not use the var keyword. Instead use let Orconet Do not include any HTML tags Do not use document.write Save your code to a file called a38.5 (please use lowercase) Sumit then doin
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
