mirror of
https://gitee.com/zlgopen/awtk.git
synced 2024-12-04 04:58:24 +08:00
10 lines
137 B
GLSL
10 lines
137 B
GLSL
|
|
function 计算总价(数量, 单价) {
|
|
return 数量*单价;
|
|
}
|
|
|
|
数量=100
|
|
单价=20
|
|
|
|
print("总价:", 计算总价(数量, 单价))
|