Question: 2. Create an HTML file that creates a variable named Testscore. Use a prompt-function dialog box to ask the user to specify a value for
2. Create an HTML file that creates a variable named Testscore. Use a prompt-function dialog box to ask the user to specify a value for the variable. Then, use a series of if-else statements to display the corresponding grade based on the following: 90 to 100: A 80 to 89: B 70 to 79: C 60 to 69: D Below 60: F
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
