问答详情
源自:3-3 Java中的赋值运算符

请问哪里错误了

   three=one+two;
        System.out.println("three=one+tow==>"+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);

提问者:慕粉212137 2019-04-13 21:40

个回答

  • 慕神1735136
    2019-04-13 22:43:50
    已采纳

    后面输出system.out.printin()中s应该改为S