JavaScript code to find average

Write a JavaScript code to find average of numbers entered by the user. Ask the user to enter five number. Take each input one at a time. Save them into variables. Find the average and display the following grades: 'The grade is Fail' if the average is below 40, Pass if it's between 40 to 70, distinction if it's above 69, otherwise display an input error message.

© SolutionLibrary Inc. solutionlibary.com October 31, 2020, 9:17 pm 9836dcf9d7 https://solutionlibrary.com/computer-science/software-development/javascript-code-to-find-average-j4b4