feat: align executable control flow with markdown

This commit is contained in:
cflmy committed 2026-11-23 17:13:44 +08:00
1 parent e67697be06
commit 0717216c9d
10 files changed
+922

No files matched your search

+2
View File
@@ -7,6 +7,8 @@
`params(原价: Int, 是否会员: Bool)`
**最终价格 = 原价**
1. `if 是否会员`:会员享受九折优惠。
为保持金额计算的确定性,先乘以九,再进行整数除法。