答案?。。。。。。。。。。?!
public class HelloWorld{
? ? public static void main(String[] args) {
? ?int one = 10 ;
? ? ? ? int two = 20 ;
? ? ? ? int three = 0 ;
? ? ? ?
? ? ? ? three = one + two;
? ? ? ? three += one;
? ? ? ? three -= one;
? ? ? ? three *= one;
? ? ? ? three /= one;
? ? ? ? three %= one;
? ? ? ??
? ? ? ??
2015-11-25
public class HelloWorld{
? ? public static void main(String[] args) {
? ?int one = 10 ;
? ? ? ? int two = 20 ;
? ? ? ? int three = 0 ;
? ? ? ? three=one+two;
? ? ? ? System.out.println("three = one + two ==>"+three);
? ? ? ? three += one ;
? ? ? ? System.out.println("three += one ==>" + three);
? ? ? ? three -= one ;
? ? ? ? System.out.println("three -= one ==>" + three);
? ? ? ? three *= one ;
? ? ? ? System.out.println("three *= one ==>" + three);
? ? ? ? three /= one ;
? ? ? ? System.out.println("three /= one ==>" + three);
? ? ? ? three %= one ;
? ? ? ? System.out.println("three %= one ==>" + three);
答案就在題目下邊:
?不會(huì)了怎么辦