Sign in to run tests against edge cases and save your code automatically.
Problem Description
Medium
Student Grade Calculator
Exam Style
Selection & Logic
Write a program that takes a student's mark out of 100 as input. Output "A" for marks 80 and above, "B" for 60 to 79, "C" for 40 to 59, and "Fail" for anything below 40.
Example Input
65
Example Output
B
Success Rate:
0% (0 passed / 0 attempted)
Code
Draft auto-saved
Test Results
Click "Test Code" to evaluate your code against the tests.