...

Exercise: Grade Calculator

Time to practice what you've learned! In this exercise, you'll create a grade calculator that assigns letter grades based on numerical scores.

Your Task

  1. Declare the grade variable.
  2. Complete the if-else logic to assign grades.

Test your solution with different scores like 95, 85, 75, 65, and 55 to make sure all grade ranges work correctly!

Loading...

Output (Console)