怎么用比較運(yùn)算符比較3-3章節(jié)的數(shù)值大小
public static void main(String[] args) {
? ?int one = 10 ;
? ? ? ?int two = 20 ;
? ? ? ?int three = 0 ;
? ? //怎么用<,>,>=,<=比較下面兩個(gè)three數(shù)值大小? ??
? ? ? ?three=one+two;
? ? ? ?System.out.println("three=one+two==>"+three);
? ? ? ? three+=one;
? ? ? ?System.out.println("three+=one==>"+three);
? ?
}
}