Find average of numbers entered by the user


Discuss the below:

Q: Create 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.

Solution Preview :

Prepared by a verified Expert
JAVA Programming: Find average of numbers entered by the user
Reference No:- TGS01938153

Now Priced at $20 (50% Discount)

Recommended (91%)

Rated (4.3/5)