Question: IN JAVASCRIPT, / * * Write a switch statement that logs how well a student performed. * Your switch statement should use letterGrade as its
IN JAVASCRIPT,
Write a switch statement that logs how well a student performed.
Your switch statement should use letterGrade as its switch value.
Log the following depending on the letter grade value:
A: Excellent!
B: Great!
C: Passing!
If the letter grade does not match A B or C log:
Please try again!
var letterGrade B;
YOUR SWITCH STATEMENT STARTS HERE
YOUR SWITCH STATEMENT ENDS HERE
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
