(相关资料图)
1、运用海伦公式dim P as long,S as longif a+b>c then if b+c>a then if a+c>b then p=(a+b+c)/2 S=sqr(p*(p-a)*(p-b)*(p-c)) end if end ifend if。
本文分享完毕,希望对大家有所帮助。
X 关闭
Copyright © 2015-2022 每日五金网版权所有 备案号:浙ICP备2022016517号-15 联系邮箱:5 146 761 13 @qq.com