中if嵌套公式怎么寫?
int age = 23; int yj = 1300; if(40>age>22&&2400>yj>1200){ System.out.print(1100); }else { System.out.print(700); } int age = 23; int yj = 800; if(40>age>22&&1200>yj>600){ System.out.print(600); }else{ System.out.print(400); }
中if嵌套公式怎么寫?
int age = 23; int yj = 1300; if(40>age>22&&2400>yj>1200){ System.out.print(1100); }else { System.out.print(700); } int age = 23; int yj = 800; if(40>age>22&&1200>yj>600){ System.out.print(600); }else{ System.out.print(400); }