标签:java har 之间 asc htm sum meta fun on()
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>do....while 练习</title>
</head>
<body>
<script type="text/javascript">
(function(){
var sum=0;
var i=100;
do{
sum+=i;
i++;
}while(i<500){
document.write("100---500之间所有整数和"+sum);
}
})();
</script>
</body>
</html>
标签:java har 之间 asc htm sum meta fun on()
原文地址:http://www.cnblogs.com/wxhhts/p/7755598.html