Home > Article > Backend Development > How to use if to determine grade level in C language?
#How to use if to determine grade level in C language?
How to use if to determine grade level in C language:
1. Open the C software.
#2. Define score.
3. Define input and output.
#4. Use if and else if to list each grade.
5. When the score is greater than or equal to 90, it is considered excellent.
#6. When the score is greater than 80 and less than 90, it is good.
#7. When the score is greater than 60 and less than 70, it is passed.
#8. When the score is less than 60, it is not qualified.
Recommended tutorial: "C Video Tutorial"
The above is the detailed content of How to use if to determine grade level in C language?. For more information, please follow other related articles on the PHP Chinese website!