Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started