if练习2
var height = prompt("请输入你的身高(cm):");
var money = prompt("请输入你的财富(万):");
var face = prompt("请输入你的颜值(px):");
/*alert(height+"--"+money+"--"+face);*/
if(height > 180 || money >1000 || face > 500){
if(money > 1000){
if(face > 500){
alert("嫁给他!");
}else{
alert("比上不足 比下有余");
}
}else{
alert("比上不足 比下有余");
}
}else{
alert("fxxk yourself");
}