var sum = 100;
for (var i = 0; i <= 10; i++) {
var youname = prompt('请输入您要的操作:' + '\n' + '1.存钱' + '\n' + '2.取钱' + '\n' + '3.显示余额' + '\n' + '4.退出' + '\n');
var num = parseInt(youname);
for (var j = 1; j <= 10; j++) {
if (num == 1) {
var cq = prompt('存多少?')
sum += parseFloat(cq);
alert('您现在的钱数是' + sum);
break;
} else if (num == 2) {
var qq = prompt('取多少?');
sum -= parseFloat(qq);
aler