Initial commit
This commit is contained in:
12
Experiment/graph/Exp1/Max.mermaid
Normal file
12
Experiment/graph/Exp1/Max.mermaid
Normal file
@@ -0,0 +1,12 @@
|
||||
flowchart TD
|
||||
A[开始] --> B[定义变量 max]
|
||||
B --> C[从命令行参数获取 a, b, c]
|
||||
C --> D{a > b 且 a > c?}
|
||||
D -->|是| E[max = a]
|
||||
D -->|否| F{b > c?}
|
||||
F -->|是| G[max = b]
|
||||
F -->|否| H[max = c]
|
||||
E --> I[输出最大值]
|
||||
G --> I
|
||||
H --> I
|
||||
I --> J[结束]
|
||||
Reference in New Issue
Block a user