Question: Create a web page called Grade.html that uses prompt() to ask for a class grade as a percentage, then uses document.write() to output the corresponding
Create a web page called Grade.html that uses prompt() to ask for a class grade as a percentage, then uses document.write() to output the corresponding letter grade using if, if-else, or switch statements. If the student is failing, it should output the number of percentage points necessary to get to a passing grade. For example, if the user enters 73 their letter grade is a C. If the user enters 52, they are told it is an F and that they must raise the grade by 8% in order to pass. If the user enters 59, they are told that it is an F and that they must raise the grade by 1% in order to pass.
I am having a hard time with what they are asking for in the second paragraph. If you could, please correct my code to something functional. Javascript only please.
Here is what I have so far:
Grade
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
