大神帮我看看问题出在哪儿啊??

来源:3-3 Java中的赋值运算符

weixin_慕用0557533

2022-11-24 11:06

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;

        SYstm.out.println("three+=one==>"+three);

        three-=one;

        System.out.printin("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);

}

}


写回答 关注

3回答

  • 慕先生2348631
    2023-11-07 15:18:47

    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;

            ((SYstm)).out.println("three+=one==>"+three);

            three-=one;

            System.out.printin("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);

    }

    }


  • 费顺
    2023-10-18 17:42:14

    https://img1.sycdn.imooc.com/652fa8580001b12412150692.jpg拼写错了 System

  • 我不懂it
    2022-11-29 18:10:20

    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;

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

            three-=one;

            System.out.printin("three-=one==>"+three);   // 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);

    }

    }


    weixin...

    SYstm.out.println("three+=one==>"+three); Y大写了

    2023-07-12 16:40:06

    共 1 条回复 >

Java入门第一季(IDEA工具)升级版

0基础萌新入门第一课,从Java环境搭建、工具使用、基础语法开始

1165550 学习 · 17586 问题

查看课程

相似问题