<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>银行业务查询</title>
</head>
<body>
<script>
//补充代码
var yue=prompt("请输入您要查询的业务编码");
switch(yue){
case 1:
document.write('账户余额为');
break;
case 2:
document.write('转账余额为');
break;
case 3:
document.write('信用额度为');
break;
default:
document.write('退出银行系统');
}
</script>
</body>
</html>
相关分类