求親愛的大神指點啊
為什么不能寫成three=one+two;
? ? ? ? ? ? ? ? ? ? ? ?three+=one;
? ? ? ? ? ? ? ? ? ? ? ?three-=one;
? ? ? ? ? ? ? ? ? ? ? ?。。。。。。
? ? ? ? ? ? ? ? ? ? ??System.out.println("three=one+two==>"+three);
? ? ? ? ? ? ? ? ? ? ? ?System.out.println("three+=one==>"+three);?
? ? ? ? ? ? ? ? ? ? ? ?。。。。。。
為什么不能把要寫的程序部分和要顯示打印的部分像之前學習的內(nèi)容一樣寫在一起呢?
2015-08-20
你的意思是three=one+two;
? ? ? ? ? ? ? ? ?System.out.println("three=one+two==>"+three);
? ? ? ? ? ? ? ? ??three+=one;
? ? ? ? ? ? ? ? ??System.out.println("three=one+two==>"+three);
? ? ? ? ?。。。。。。
? ? ?你的意思是這個嗎
? ? 這是可以的呀