Question: Write a JavaScript program that does the following: Prompt the user for the grades of 3 students with a prompt for each grade. In other
Write a JavaScript program that does the following: Prompt the user for the grades of 3 students with a prompt for each grade. In other words, there should be three prompts: "Enter the grade for student 1:", "Enter the grade for student 2:" and "Enter the grade for student 3:" The grades should vary from 1 to 10. Grades outside this range should not be accepted. Once the user is done, it prints a report telling you the average of the three grades.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
