一直顯示錯誤
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);
?? }
}
?????? ?
?????? ?
?????? ?
???????
2018-11-19
你的代碼沒問題的??赡苁蔷W頁有有問題,我之前也出現了你的這個問題,你代碼是沒錯的,要么重新打開網頁或者清一下緩存,應該會好的。
2018-11-17
我把代碼復制去看了下,是沒問題的
2018-11-17
可以輸出成功啊
2018-11-15
沒錯啊,對的