介绍
本实验将引导你通过递归的方式在数组中查找最大元素。该 C 程序将提示用户输入数组的大小,然后输入数组的元素,最后输出数组中的最大元素。
Skills Graph
%%%%{init: {'theme':'neutral'}}%%%%
flowchart RL
c(("`C`")) -.-> c/CompoundTypesGroup(["`Compound Types`"])
c(("`C`")) -.-> c/FunctionsGroup(["`Functions`"])
c(("`C`")) -.-> c/UserInteractionGroup(["`User Interaction`"])
c/CompoundTypesGroup -.-> c/arrays("`Arrays`")
c/FunctionsGroup -.-> c/function_parameters("`Function Parameters`")
c/FunctionsGroup -.-> c/recursion("`Recursion`")
c/UserInteractionGroup -.-> c/user_input("`User Input`")
c/UserInteractionGroup -.-> c/output("`Output`")
subgraph Lab Skills
c/arrays -.-> lab-123275{{"`使用递归查找数组中的最大元素`"}}
c/function_parameters -.-> lab-123275{{"`使用递归查找数组中的最大元素`"}}
c/recursion -.-> lab-123275{{"`使用递归查找数组中的最大元素`"}}
c/user_input -.-> lab-123275{{"`使用递归查找数组中的最大元素`"}}
c/output -.-> lab-123275{{"`使用递归查找数组中的最大元素`"}}
end