<script> var myh=1.8; var myw=75.0; var mybmi=myw / myh / myh; document.write("有人身高:" + myh + "<br/>"); document.write("有人體重:" + myw + "<br/>"); document.write("計算BMI:" + mybmi); <script>