其实6887515
2021-04-21 16:22
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);
}
}
当然只能这样呀,你的每个算法都不一样,需要每次重新赋值
Java入门第一季(IDEA工具)升级版
1165574 学习 · 17587 问题
相似问题