if语句

if语句

public class ifyj{

public static void main(Spring[] args){

int a = 5;

int b=10;

if(a>b){System.out.print("判断语句");}

else if(a==b) {System.out.print("buhao");}

else{System.out.print("buhao");}

}

}

if

else if

else

原文地址:https://www.cnblogs.com/zhifeiji822/p/14599882.html