问答详情
源自:-

怎么用比较运算符比较3-3章节的数值大小


public static void main(String[] args) {
   int one = 10 ;
       int two = 20 ;
       int three = 0 ;
    //怎么用<,>,>=,<=比较下面两个three数值大小    

       three=one+two;

       System.out.println("three=one+two==>"+three);
        three+=one;
       System.out.println("three+=one==>"+three);
   
}
}

提问者:闲人逛小白 2016-05-01 01:59

个回答