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

posted on 2021-03-31 09:01  zfj822  阅读(47)  评论(0编辑  收藏  举报