一直顯示錯(cuò)誤
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
你的代碼沒(méi)問(wèn)題的??赡苁蔷W(wǎng)頁(yè)有有問(wèn)題,我之前也出現(xiàn)了你的這個(gè)問(wèn)題,你代碼是沒(méi)錯(cuò)的,要么重新打開(kāi)網(wǎng)頁(yè)或者清一下緩存,應(yīng)該會(huì)好的。
2018-11-17
我把代碼復(fù)制去看了下,是沒(méi)問(wèn)題的
2018-11-17
可以輸出成功啊
2018-11-15
沒(méi)錯(cuò)啊,對(duì)的