介绍
在本挑战中,你将创建一个 C 程序,使用条件语句根据学生的考试成绩自动分类他们的表现。该程序应处理 0 到 100 分的成绩,并根据给定的分数范围打印相应的字母等级(A、B、C、D 或 F)。
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
c(("C")) -.-> c/ControlFlowGroup(["Control Flow"])
c(("C")) -.-> c/UserInteractionGroup(["User Interaction"])
c/ControlFlowGroup -.-> c/if_else("If...Else")
c/UserInteractionGroup -.-> c/user_input("User Input")
c/UserInteractionGroup -.-> c/output("Output")
subgraph Lab Skills
c/if_else -.-> lab-438387{{"学生成绩分类"}}
c/user_input -.-> lab-438387{{"学生成绩分类"}}
c/output -.-> lab-438387{{"学生成绩分类"}}
end