<!DOCTYPE HTML><html ><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /><title>函数</title><script type="text/javascript">function big(x,y){ if(x>y){ return x; } else if(x<y){ return y; }else(x==y){ return "两者相等"}} document.write(" 5 和 4 的较大值是:"+big(5,4)+"<br>"); document.write(" 6 和 3 的较大值是:"+big(6,3)+"<br />" ); document.write(" 88 和88 的较大值是:"+big(88,88) ); </script></head><body></body></html>
添加回答
举报
0/150
提交
取消