连宏伟HW
2016-01-19 22:27
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+=0ne==>"+three);
three-=one;
System.out.println("three-=one==>"+three);
three*=one;
System.out.println("three*=ono==>"+three);
three/=one;
System.out.println("three/=ono==>"+three);
three%=one;
System.out.println("three%=ono==>"+three);
楼主字母打错了 你后面部分的one 打成ono
其他都没问题
three/=one;
System.out.println("three/=ono==>"+three);
three%=one;
System.out.println("three%=ono==>"+three);
one 不是 ono - -.
没错的
没错吧
Java入门第一季(IDEA工具)升级版
1165565 学习 · 17587 问题
相似问题