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

始终错误,求指导!!!

public class HelloWorld{

    public static void main(String[] args) {

    int one=10;

        int two=20;

        int three=0;

        three=one+two;

        System.out.printle("three=one+two==>"+three);

        three+=one;

        System.out.printle("three+=one==>"+three);

        three-=one;

        System.out.printle("three-=one==>"+three);

        thre*=one;

        System.out.printle("three*=one==>"+three);

        three/=one;

        System.out.printle("three/=one==>"+three);

        three%=one;

        System.out.printle("three%=one==>"+three);

}

}


提问者:白菜芳 2019-08-26 01:19

个回答

  • 慕工程0123645
    2019-09-19 13:22:38

    println

  • 慕斯卡8061910
    2019-08-30 15:37:00

    println 啊!!

  • 白菜芳
    2019-08-26 02:28:19

    找到了,println   three