Question: This assignment you will design two buttons Grade to Score Range and Score to Grade . Each button will trigger its corresponding function which prompts

This assignment you will design two buttons Grade to Score Range and Score to Grade. Each button will trigger its corresponding function which prompts the user to provide input. Then each function will display what is shown in the table provided, based on the users input. One of your functions will use a "JavaScript switch" statement, the other can use "JavaScript if-else-if" statements. You are expected to handle invalid inputs and user errors properly. Click the button below to convert Score to Grade:
Click the button below to convert Grade to Score:
Convert to Score Range
If user inputs a negative number, proper error message should be displayed,
Click the button below to convert Score to Grade:
Input is invalid, grade cannot be negative
Click the button below to convert Grade to Score:
If user inputs a number above 110 a different error message should be displayed,
\table[[Grade to Score Range [A/a,B/b,,Score to Grade 0-110],[C/c,D/d, or F/f].,],[If user inputs A->90-100,If user inputs 100-110->A+],[If user inputs B->80-90,If user inputs 90-99->A],[If user inputs C->70-80,If user inputs 80-89->B],[If user inputs D->60-70,If user inputs 70-79->C],[If user inputs F->0-60,If user inputs 60-69->D],[\table[[Note:- Display proper error],[message for invalid input.]],If user input is below 60->F]]
 This assignment you will design two buttons Grade to Score Range

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!