005-002-013
If-Else: Grade Evaluation
Medium
Problem Description
If-Else: Grade Evaluation
Learning Objective: Understand multi-way branching using if-else if-else statements
Overview
Create a program that evaluates grades based on test scores.
Specifications
- Assign value 75 to variable
score - Evaluate grade based on:
- 80 or above: "Grade: A"
- 60 to 79: "Grade: B"
- Below 60: "Grade: C"
Output Format
Grade: B
Ready to Try Running Code?
Log in to access the code editor and execute your solutions for this problem.
Don't have an account?
