高富帅:大智若愚宠辱不惊是为高,大爱于心福泽天下是为富,大略宏才智勇双全是为帅!
白富美:(一)白:洁身自好;富:经济独立;美:内外兼修;(二)白于品性,富于思维,美在心灵。
import java.util.Scanner;
class IfExer {
public static void main(String[] args) {
Scanner sc =new Scanner(System.in);
System.out.println("请输入你的身高 (cm)");
int height = sc.nextInt();
System.out.println("请输入你的财富 (千万)");
double welthy = sc.nextDouble();
System.out.println("你是否帅? (true/false)");
boolean handsome = sc.nextBoolean();
if (height >= 180 && welthy >= 1 && handsome){
System.out.println("我一定要嫁给他!!!");
}else if (height < 180 || welthy < 1 || handsome ){
System.out.println("嫁吧,比上不足比下有余!");
}else {
System.out.println("不嫁!");
}
}
}