42分钟前查看完整代码
JavaScript内置对象 \ 2-7 编程练习
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>统计员工工资</title>
</head>
<body>
<script>
//补充代码
var wage_arr = [];
var flag = true;
while(flag){
var in_message = prompt("请输入员工工资");
if(in_message =="退出"){
flag =false;
}else if(in_message !="退出"){
wage_arr[]=in_message;
}
}
</script>
</body>
</html>
qq_篮风_03344867
FSYu
慕的地6079101
lamp_lutao
lamp_lutao
相关分类