慕工程051454
2019-03-23 19:14
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);
你最后一行system后面写了个 /
System.out.println("three*/one==>"+three);
three/=one;
System.out.println("three/=one==>"+three);
three%=one;
System.out.println("three%=one==>"+three);
最好一行输出 System.out
Java入门第一季(IDEA工具)升级版
1165175 学习 · 17581 问题
相似问题