提示我第15行出錯 請問是哪里有錯了哦?
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.oue.println("three /= one ==>" + three);
? ? ? ? three %= one ;
? ? ? ? System.out.println("three %= one ==>" + three);
? ? ? ??
2018-10-13
好的 謝謝哈(づ ̄3 ̄)づ╭?~
2018-10-10
out,不是oue
?System.oue.println("three /= one ==>" + three);
2018-10-10
第一:這個程序后面要加上 } } 結(jié)尾,第二:你的 /= 那里的輸出語句 out 寫成了 oue
2018-10-10
中間是out,不是oue