Question: write a function named assignGrade that: takes 1 argument, a number score. returns a grade for the score, either A, B, C, D, or F.
write a function named assignGrade that:
takes 1 argument, a number score.
returns a grade for the score, either "A", "B", "C", "D", or "F".
Call that function for a few different scores and log the result to make
sure it works
write the above function in java script code in HTML
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
