提交的时候提示不对?
<script type="text/JavaScript">
var mymoney,sum=0;//mymoney变量存放不同面值,sum总计
for(mymoney=1;mymoney<=8;mymoney++)
{
sum= sum + mymoney;
}
document.write("sum合计:"+sum);
</script>
<script type="text/JavaScript">
var mymoney,sum=0;//mymoney变量存放不同面值,sum总计
for(mymoney=1;mymoney<=8;mymoney++)
{
sum= sum + mymoney;
}
document.write("sum合计:"+sum);
</script>
2016-03-03
举报