Jasono
2015-10-27 10:04
public class HelloWorld{
public static void main(String[] args) {
int one = 10 ;
int two = 20 ;
int three = 0 ;
three = one + two;
three += one;
three -= one;
three *= one;
three /= one;
three %= one;
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);
答案就在题目下边:
?不会了怎么办
Java入门第一季(IDEA工具)升级版
1165172 学习 · 17581 问题
相似问题