<script type="text/javascript">
function mybig(a,b){
if(a>b){
return a;
}
else if(a<b){return b;}
else{return "两数相等";}
}
document.write(" 5 和 4 的较大值是:"+mybig(5,4)+"<br>");
document.write(" 6 和 3 的较大值是:"+mybig(6,3)+ );
</script>
<html>
<meta charset="utf-8"></meta>
<title>...</title>
<head>
<script type="text/javascript">
function mybig(a,b){
if(a>b){
return a;
}
else if(a<b){return b;}
else{return "两数相等";}
}
document.write(" 5 和 4 的较大值是:"+mybig(5,4)+"<br>");
document.write(" 6 和 3 的较大值是:"+mybig(6,3) );
</script>
</head>
<body></body>
</html>