7 lines
265 B
Plaintext
7 lines
265 B
Plaintext
flowchart TD
|
|
A[开始] --> B[定义半径 radius = 3.0]
|
|
B --> C[计算周长 circumference = 2 * Math.PI * radius]
|
|
C --> D[计算面积 area = Math.PI * radius * radius]
|
|
D --> E[输出圆的周长]
|
|
E --> F[输出圆的面积]
|
|
F --> G[结束] |