为了账号安全,请及时绑定邮箱和手机立即绑定

不行呀输出不了请大神帮忙看看

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);
        }
}
      

正在回答

2 回答

慕课的提交代码有时候会有点问题,eclipse能输出就证明可以

0 回复 有任何疑惑可以回复我~

three = one + two ==> 30

three += one ==> 40

three -= one ==> 30

three *= one ==> 300

three /= one ==> 30

three %= one ==> 0


Process completed.


0 回复 有任何疑惑可以回复我~
#1

小熊要加油 提问者

但是我在我的慕课里面输出不了,在我的eclipse里面却可以
2019-09-23 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

不行呀输出不了请大神帮忙看看

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信