For循环 Switch语句

1.三个数中求最大值: 利用max函数两两比较,两次得出最大值web System.out.println("fun1():"+(val<1)); return val<1; } public ststic boolean fun2(int val){ System.out.println("fun2():"+(val<2)); retrn val<2;} public static boolea
相关文章
相关标签/搜索