如果让他每个结果都输出一次,要怎么写这个代码?有趣
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Math </title>
<script type="text/javascript">
x=3.3
x=-0.1
x=-9.9
x=8.9
document.write(Math.ceil(x)+"<br />")
</script>
</head>
<body>
</body>
</html>
谁能用之前所学的循环来做一下